|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.carabiner.inkpod.pi.shape.handle.AbstractHandle<S> jp.carabiner.inkpod.pi.shape.handle.AbstractSquareHandle<S> jp.carabiner.inkpod.pi.shape.handle.BezierCurvesNodeShapeHandle.PointHandle
public class BezierCurvesNodeShapeHandle.PointHandle
フィールドの概要 |
---|
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたフィールド |
---|
EMPTY_CHILDREN |
コンストラクタの概要 | |
---|---|
BezierCurvesNodeShapeHandle.PointHandle(S shape,
int index)
|
メソッドの概要 | |
---|---|
boolean |
click(java.awt.geom.Point2D p,
java.awt.event.MouseEvent mouseEvent,
EditorViewConfiguration viewConfiguration)
このハンドルがクリックされたことを通知する。 |
void |
drawHandle(java.awt.Graphics g,
ShapeRenderingContext context)
このハンドルを現在の場所に描画する。 |
java.awt.Shape |
getCursorPath()
|
int |
getIndex()
|
java.awt.geom.Point2D |
getLocation(java.awt.geom.Point2D point)
このハンドルの位置を返す。 |
java.lang.String |
getName()
|
java.awt.Shape |
getUnmovableCursorPath()
|
boolean |
isDraggable()
このハンドルがドラッグ可能であるかを返す。 |
boolean |
isFocusable()
|
boolean |
isVisible(boolean topLevel,
boolean selected,
boolean singleSelected)
|
void |
setLocation(double x,
double y,
java.awt.event.MouseEvent event,
EditorViewConfiguration configuration)
このハンドルの位置を変更する |
boolean |
startDrag(java.awt.geom.Point2D cursorLocation,
java.awt.event.MouseEvent mouseEvent,
EditorViewConfiguration configuration)
このハンドルのドラッグを開始したことを通知する。 |
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractSquareHandle から継承されたメソッド |
---|
getTargetShape, isBodyHandle, isConstantVisible, isHit, isRotationCursor, isTopMost, setCursorRotation, setFillColor |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public BezierCurvesNodeShapeHandle.PointHandle(S shape, int index)
メソッドの詳細 |
---|
public java.lang.String getName()
public boolean isDraggable()
Handle
の記述:
Handle
内の isDraggable
AbstractSquareHandle<S extends BezierCurvesNodeShape>
内の isDraggable
public boolean isFocusable()
Handle
内の isFocusable
AbstractSquareHandle<S extends BezierCurvesNodeShape>
内の isFocusable
public int getIndex()
public java.awt.Shape getCursorPath()
AbstractSquareHandle<S extends BezierCurvesNodeShape>
内の getCursorPath
public java.awt.Shape getUnmovableCursorPath()
AbstractSquareHandle<S extends BezierCurvesNodeShape>
内の getUnmovableCursorPath
public boolean isVisible(boolean topLevel, boolean selected, boolean singleSelected)
Handle
内の isVisible
AbstractSquareHandle<S extends BezierCurvesNodeShape>
内の isVisible
public java.awt.geom.Point2D getLocation(java.awt.geom.Point2D point)
Handle
の記述:
point
- ハンドルの位置(マップ上の座標系)を格納するPoint2Dオブジェクト
public boolean startDrag(java.awt.geom.Point2D cursorLocation, java.awt.event.MouseEvent mouseEvent, EditorViewConfiguration configuration)
Handle
の記述:
Handle
内の startDrag
AbstractHandle<S extends BezierCurvesNodeShape>
内の startDrag
cursorLocation
- ハンドルの位置mouseEvent
- マウスイベントconfiguration
- ビューの状態
public void drawHandle(java.awt.Graphics g, ShapeRenderingContext context)
Handle
の記述:
Handle
内の drawHandle
AbstractSquareHandle<S extends BezierCurvesNodeShape>
内の drawHandle
g
- Grpahicsオブジェクトcontext
- 描画コンテキスト情報public void setLocation(double x, double y, java.awt.event.MouseEvent event, EditorViewConfiguration configuration)
Handle
の記述:
Handle
内の setLocation
AbstractSquareHandle<S extends BezierCurvesNodeShape>
内の setLocation
x
- 新しいX座標(マップ上の座標系)y
- 新しいY座標(マップ上の座標系)event
- ハンドル位置を変更するきっかけになったマウスイベントconfiguration
- ビューの状態public boolean click(java.awt.geom.Point2D p, java.awt.event.MouseEvent mouseEvent, EditorViewConfiguration viewConfiguration)
Handle
の記述:
Handle
内の click
AbstractHandle<S extends BezierCurvesNodeShape>
内の click
p
- クリックされた座標(マップ上の座標系)mouseEvent
- マウスイベントviewConfiguration
- ビューの状態
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |