jp.carabiner.inkpod.pi.shape.handle
クラス AbstractNodeShapeHandle<S extends AbstractNodeShape>
java.lang.Object
jp.carabiner.inkpod.pi.shape.handle.AbstractHandle<S>
jp.carabiner.inkpod.pi.shape.handle.AbstractBoxHandle<S>
jp.carabiner.inkpod.pi.shape.handle.AbstractNodeShapeHandle<S>
- すべての実装されたインタフェース:
- Handle
- 直系の既知のサブクラス:
- BezierCurvesNodeShapeHandle, RectangleShapeHandle
public abstract class AbstractNodeShapeHandle<S extends AbstractNodeShape>
- extends AbstractBoxHandle<S>
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたメソッド |
addHandleDragListener, addTextEditorListener, cancelDrag, click, delegate, drag, endDrag, filter, fireDragCanceledEvent, fireDragEndedEvent, fireDragRequestedEvent, fireDragStartedEvent, fireTextEditorEvent, getCursor, getDragStartPoint, getDragStartPointDelta, getLastClickedPoint, getLocation, getTargetObject, getTargetShape, getTextEditor, isDragging, isFocused, isSelected, isSingleSelected, keyPressed, keyReleased, keyTyped, readyDrag, removeHandleDragListener, removeTextEditorListener, requestDelegate, setLocation, startDrag, updateFocus, updateSelection |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BODY_HANDLE
public static final java.lang.String BODY_HANDLE
- 関連項目:
- 定数フィールド値
LEFT_HANDLE
public static final java.lang.String LEFT_HANDLE
- 関連項目:
- 定数フィールド値
RIGHT_HANDLE
public static final java.lang.String RIGHT_HANDLE
- 関連項目:
- 定数フィールド値
TOP_HANDLE
public static final java.lang.String TOP_HANDLE
- 関連項目:
- 定数フィールド値
BOTTOM_HANDLE
public static final java.lang.String BOTTOM_HANDLE
- 関連項目:
- 定数フィールド値
LEFT_TOP_HANDLE
public static final java.lang.String LEFT_TOP_HANDLE
- 関連項目:
- 定数フィールド値
LEFT_BOTTOM_HANDLE
public static final java.lang.String LEFT_BOTTOM_HANDLE
- 関連項目:
- 定数フィールド値
RIGHT_TOP_HANDLE
public static final java.lang.String RIGHT_TOP_HANDLE
- 関連項目:
- 定数フィールド値
RIGHT_BOTTOM_HANDLE
public static final java.lang.String RIGHT_BOTTOM_HANDLE
- 関連項目:
- 定数フィールド値
leftHandle
protected AbstractHandle<S extends AbstractNodeShape> leftHandle
topHandle
protected AbstractHandle<S extends AbstractNodeShape> topHandle
bottomHandle
protected AbstractHandle<S extends AbstractNodeShape> bottomHandle
rightHandle
protected AbstractHandle<S extends AbstractNodeShape> rightHandle
leftTopHandle
protected AbstractHandle<S extends AbstractNodeShape> leftTopHandle
rightTopHandle
protected AbstractHandle<S extends AbstractNodeShape> rightTopHandle
leftBottomHandle
protected AbstractHandle<S extends AbstractNodeShape> leftBottomHandle
rightBottomHandle
protected AbstractHandle<S extends AbstractNodeShape> rightBottomHandle
resizeHandles
protected Handle[] resizeHandles
childHandles
protected Handle[] childHandles
AbstractNodeShapeHandle
public AbstractNodeShapeHandle(S shape)
createLeftTopHandle
protected AbstractHandle<S> createLeftTopHandle(S shape)
createLeftHandle
protected AbstractHandle<S> createLeftHandle(S shape)
createLeftBottomHandle
protected AbstractHandle<S> createLeftBottomHandle(S shape)
createBottomHandle
protected AbstractHandle<S> createBottomHandle(S shape)
createRightBottomHandle
protected AbstractHandle<S> createRightBottomHandle(S shape)
createRightHandle
protected AbstractHandle<S> createRightHandle(S shape)
createRightTopHandle
protected AbstractHandle<S> createRightTopHandle(S shape)
createTopHandle
protected AbstractHandle<S> createTopHandle(S shape)
createChildHandles
protected Handle[] createChildHandles(S shape)
createTextEditor
protected AbstractTextEditor createTextEditor(S shape)
- オーバーライド:
- クラス
AbstractHandle<S extends AbstractNodeShape>
内の createTextEditor
getMapObject
protected PNodeObject getMapObject()
getName
public java.lang.String getName()
isBodyHandle
public boolean isBodyHandle()
- インタフェース
Handle
の記述:
- シェイプの本体のハンドルであるかを返す。
本体のハンドルなら、子を持ちます。
- 戻り値:
- シェイプ本体のハンドルなら、true
getBoxBounds
public java.awt.geom.Rectangle2D getBoxBounds()
- 定義:
- クラス
AbstractBoxHandle<S extends AbstractNodeShape>
内の getBoxBounds
getPadding
public int getPadding(EditorViewConfiguration viewConfiguration)
- 定義:
- クラス
AbstractBoxHandle<S extends AbstractNodeShape>
内の getPadding
isVisible
public boolean isVisible(ShapeRenderingContext context)
- 定義:
- クラス
AbstractBoxHandle<S extends AbstractNodeShape>
内の isVisible
isDraggable
public boolean isDraggable()
- インタフェース
Handle
の記述:
- このハンドルがドラッグ可能であるかを返す。
- 戻り値:
- ドラッグ可能ならtrue
getChildHandles
public Handle[] getChildHandles()
- インタフェース
Handle
の記述:
- このハンドルの子のハンドルを返す。
- 定義:
- インタフェース
Handle
内の getChildHandles
- オーバーライド:
- クラス
AbstractHandle<S extends AbstractNodeShape>
内の getChildHandles
- 戻り値:
- ハンドルの配列
isResizingOrMoving
public boolean isResizingOrMoving()
isResizing
public boolean isResizing()
isHit
public boolean isHit(double mx,
double my,
java.awt.event.MouseEvent mouseEvent,
EditorViewConfiguration viewConfiguration)
- インタフェース
Handle
の記述:
- このハンドルの領域に、指定された座標が含まれるかを調べる。
- 定義:
- インタフェース
Handle
内の isHit
- オーバーライド:
- クラス
AbstractBoxHandle<S extends AbstractNodeShape>
内の isHit
- パラメータ:
mx
- 調べるX座標(マップ上の座標系)my
- 調べるY座標(マップ上の座標系)mouseEvent
- 元のマウスイベントviewConfiguration
- ビューの状態
- 戻り値:
- ハンドルの領域に、指定された座標が含まれていたらtrue
setLocation
public void setLocation(double x,
double y,
java.awt.event.MouseEvent event,
EditorViewConfiguration configuration)
- インタフェース
Handle
の記述:
- このハンドルの位置を変更する
- パラメータ:
x
- 新しいX座標(マップ上の座標系)y
- 新しいY座標(マップ上の座標系)event
- ハンドル位置を変更するきっかけになったマウスイベントconfiguration
- ビューの状態
getLocation
public java.awt.geom.Point2D getLocation(java.awt.geom.Point2D point)
- インタフェース
Handle
の記述:
- このハンドルの位置を返す。
- パラメータ:
point
- ハンドルの位置(マップ上の座標系)を格納するPoint2Dオブジェクト
- 戻り値:
- point引数を返す。
isWidthResizable
protected abstract boolean isWidthResizable()
isHeightResizable
protected abstract boolean isHeightResizable()