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>


入れ子のクラスの概要
protected  class AbstractNodeShapeHandle.BottomHandle
           
protected  class AbstractNodeShapeHandle.LeftBottomHandle
           
protected  class AbstractNodeShapeHandle.LeftHandle
           
protected  class AbstractNodeShapeHandle.LeftTopHandle
           
protected  class AbstractNodeShapeHandle.RightBottomHandle
           
protected  class AbstractNodeShapeHandle.RightHandle
           
protected  class AbstractNodeShapeHandle.RightTopHandle
           
protected  class AbstractNodeShapeHandle.TopHandle
           
 
フィールドの概要
static java.lang.String BODY_HANDLE
           
static java.lang.String BOTTOM_HANDLE
           
protected  AbstractHandle<S> bottomHandle
           
protected  Handle[] childHandles
           
static java.lang.String LEFT_BOTTOM_HANDLE
           
static java.lang.String LEFT_HANDLE
           
static java.lang.String LEFT_TOP_HANDLE
           
protected  AbstractHandle<S> leftBottomHandle
           
protected  AbstractHandle<S> leftHandle
           
protected  AbstractHandle<S> leftTopHandle
           
protected  Handle[] resizeHandles
           
static java.lang.String RIGHT_BOTTOM_HANDLE
           
static java.lang.String RIGHT_HANDLE
           
static java.lang.String RIGHT_TOP_HANDLE
           
protected  AbstractHandle<S> rightBottomHandle
           
protected  AbstractHandle<S> rightHandle
           
protected  AbstractHandle<S> rightTopHandle
           
static java.lang.String TOP_HANDLE
           
protected  AbstractHandle<S> topHandle
           
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractBoxHandle から継承されたフィールド
SINGLE_CURSOR_EDITTING_STROKE, SINGLE_CURSOR_STROKE
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたフィールド
EMPTY_CHILDREN
 
コンストラクタの概要
AbstractNodeShapeHandle(S shape)
           
 
メソッドの概要
protected  AbstractHandle<S> createBottomHandle(S shape)
           
protected  Handle[] createChildHandles(S shape)
           
protected  AbstractHandle<S> createLeftBottomHandle(S shape)
           
protected  AbstractHandle<S> createLeftHandle(S shape)
           
protected  AbstractHandle<S> createLeftTopHandle(S shape)
           
protected  AbstractHandle<S> createRightBottomHandle(S shape)
           
protected  AbstractHandle<S> createRightHandle(S shape)
           
protected  AbstractHandle<S> createRightTopHandle(S shape)
           
protected  AbstractTextEditor createTextEditor(S shape)
           
protected  AbstractHandle<S> createTopHandle(S shape)
           
 java.awt.geom.Rectangle2D getBoxBounds()
           
 Handle[] getChildHandles()
          このハンドルの子のハンドルを返す。
 java.awt.geom.Point2D getLocation(java.awt.geom.Point2D point)
          このハンドルの位置を返す。
protected  PNodeObject getMapObject()
           
 java.lang.String getName()
           
 int getPadding(EditorViewConfiguration viewConfiguration)
           
 boolean isBodyHandle()
          シェイプの本体のハンドルであるかを返す。
 boolean isDraggable()
          このハンドルがドラッグ可能であるかを返す。
protected abstract  boolean isHeightResizable()
           
 boolean isHit(double mx, double my, java.awt.event.MouseEvent mouseEvent, EditorViewConfiguration viewConfiguration)
          このハンドルの領域に、指定された座標が含まれるかを調べる。
 boolean isResizing()
           
 boolean isResizingOrMoving()
           
 boolean isVisible(ShapeRenderingContext context)
           
protected abstract  boolean isWidthResizable()
           
 void setLocation(double x, double y, java.awt.event.MouseEvent event, EditorViewConfiguration configuration)
          このハンドルの位置を変更する
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractBoxHandle から継承されたメソッド
drawHandle, isConstantVisible, isFocusable, isTopMost, isVisible
 
クラス 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()