jp.carabiner.inkpod.pi.shape.handle
クラス RelationRotationHandle<S extends AbstractRelationShape>

java.lang.Object
  上位を拡張 jp.carabiner.inkpod.pi.shape.handle.AbstractHandle<S>
      上位を拡張 jp.carabiner.inkpod.pi.shape.handle.RotationHandle<S>
          上位を拡張 jp.carabiner.inkpod.pi.shape.handle.RelationRotationHandle<S>
すべての実装されたインタフェース:
Handle

public class RelationRotationHandle<S extends AbstractRelationShape>
extends RotationHandle<S>


フィールドの概要
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたフィールド
EMPTY_CHILDREN
 
コンストラクタの概要
RelationRotationHandle(AbstractHandle parent, S shape)
           
RelationRotationHandle(AbstractHandle parent, S shape, boolean drawBounds)
           
RelationRotationHandle(S shape)
           
RelationRotationHandle(S shape, boolean drawBounds)
           
 
メソッドの概要
protected  java.awt.geom.Rectangle2D getRotationBounds()
           
 boolean isDraggable()
          このハンドルがドラッグ可能であるかを返す。
 boolean isHit(double x, double y, java.awt.event.MouseEvent mouseEvent, EditorViewConfiguration viewConfiguration)
          このハンドルの領域に、指定された座標が含まれるかを調べる。
 void setLocation(double x, double y, java.awt.event.MouseEvent event, EditorViewConfiguration viewConfiguration)
          このハンドルの位置を変更する
 
クラス jp.carabiner.inkpod.pi.shape.handle.RotationHandle から継承されたメソッド
drawHandle, filter, getDragStartPointDelta, getGroupBoundsTransform, getLocation, getName, isBodyHandle, isConstantVisible, isFocusable, isTopMost, isVisible
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたメソッド
addHandleDragListener, addTextEditorListener, cancelDrag, click, createTextEditor, delegate, drag, endDrag, fireDragCanceledEvent, fireDragEndedEvent, fireDragRequestedEvent, fireDragStartedEvent, fireTextEditorEvent, getChildHandles, getCursor, getDragStartPoint, 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
 

コンストラクタの詳細

RelationRotationHandle

public RelationRotationHandle(AbstractHandle parent,
                              S shape,
                              boolean drawBounds)

RelationRotationHandle

public RelationRotationHandle(AbstractHandle parent,
                              S shape)

RelationRotationHandle

public RelationRotationHandle(S shape,
                              boolean drawBounds)

RelationRotationHandle

public RelationRotationHandle(S shape)
メソッドの詳細

isDraggable

public boolean isDraggable()
インタフェース Handle の記述:
このハンドルがドラッグ可能であるかを返す。

定義:
インタフェース Handle 内の isDraggable
オーバーライド:
クラス RotationHandle<S extends AbstractRelationShape> 内の isDraggable
戻り値:
ドラッグ可能ならtrue

getRotationBounds

protected java.awt.geom.Rectangle2D getRotationBounds()
オーバーライド:
クラス RotationHandle<S extends AbstractRelationShape> 内の getRotationBounds

isHit

public boolean isHit(double x,
                     double y,
                     java.awt.event.MouseEvent mouseEvent,
                     EditorViewConfiguration viewConfiguration)
インタフェース Handle の記述:
このハンドルの領域に、指定された座標が含まれるかを調べる。

定義:
インタフェース Handle 内の isHit
オーバーライド:
クラス RotationHandle<S extends AbstractRelationShape> 内の isHit
パラメータ:
x - 調べるX座標(マップ上の座標系)
y - 調べるY座標(マップ上の座標系)
mouseEvent - 元のマウスイベント
viewConfiguration - ビューの状態
戻り値:
ハンドルの領域に、指定された座標が含まれていたらtrue

setLocation

public void setLocation(double x,
                        double y,
                        java.awt.event.MouseEvent event,
                        EditorViewConfiguration viewConfiguration)
インタフェース Handle の記述:
このハンドルの位置を変更する

定義:
インタフェース Handle 内の setLocation
オーバーライド:
クラス RotationHandle<S extends AbstractRelationShape> 内の setLocation
パラメータ:
x - 新しいX座標(マップ上の座標系)
y - 新しいY座標(マップ上の座標系)
event - ハンドル位置を変更するきっかけになったマウスイベント
viewConfiguration - ビューの状態