jp.carabiner.inkpod.pi.shape.handle
クラス AbstractRelationShapeHandle.EdgePointHandle

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.AbstractRelationShapeHandle.EdgePointHandle
すべての実装されたインタフェース:
Handle
直系の既知のサブクラス:
AbstractRelationShapeHandle.EndPointHandle, AbstractRelationShapeHandle.StartPointHandle
含まれているクラス:
AbstractRelationShapeHandle<S extends AbstractRelationShape>

public abstract class AbstractRelationShapeHandle.EdgePointHandle
extends AbstractSquareHandle<S>


フィールドの概要
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたフィールド
EMPTY_CHILDREN
 
コンストラクタの概要
AbstractRelationShapeHandle.EdgePointHandle(java.awt.Color fillColor, S shape)
           
AbstractRelationShapeHandle.EdgePointHandle(int cursorSize, int unmovableCursorSize, java.awt.Color fillColor, S shape)
           
AbstractRelationShapeHandle.EdgePointHandle(int cursorSize, int unmovableCursorSize, S shape)
           
AbstractRelationShapeHandle.EdgePointHandle(S shape)
           
 
メソッドの概要
 void drawHandle(java.awt.Graphics g, ShapeRenderingContext context)
          このハンドルを現在の場所に描画する。
 void endDrag(java.awt.event.MouseEvent event)
          このハンドルのドラッグが終了したときに呼び出される。
protected abstract  PNodeObject getNodeObject()
           
protected abstract  PNodeObject getOppositeNodeObject()
           
 boolean isConstantVisible()
          推奨されていません。 
 boolean isDraggable()
          このハンドルがドラッグ可能であるかを返す。
protected  void postEndDrag()
           
protected  void preEndDrag()
           
protected abstract  void setNodeObject(PNodeObject object)
           
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractSquareHandle から継承されたメソッド
getCursorPath, getTargetShape, getUnmovableCursorPath, isBodyHandle, isFocusable, isHit, isRotationCursor, isTopMost, isVisible, setCursorRotation, setFillColor, setLocation
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたメソッド
addHandleDragListener, addTextEditorListener, cancelDrag, click, createTextEditor, delegate, drag, filter, fireDragCanceledEvent, fireDragEndedEvent, fireDragRequestedEvent, fireDragStartedEvent, fireTextEditorEvent, getChildHandles, getCursor, getDragStartPoint, getDragStartPointDelta, getLastClickedPoint, getLocation, getTargetObject, 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
 
インタフェース jp.carabiner.inkpod.pi.shape.handle.Handle から継承されたメソッド
getLocation, getName
 

コンストラクタの詳細

AbstractRelationShapeHandle.EdgePointHandle

public AbstractRelationShapeHandle.EdgePointHandle(S shape)

AbstractRelationShapeHandle.EdgePointHandle

public AbstractRelationShapeHandle.EdgePointHandle(java.awt.Color fillColor,
                                                   S shape)

AbstractRelationShapeHandle.EdgePointHandle

public AbstractRelationShapeHandle.EdgePointHandle(int cursorSize,
                                                   int unmovableCursorSize,
                                                   S shape)

AbstractRelationShapeHandle.EdgePointHandle

public AbstractRelationShapeHandle.EdgePointHandle(int cursorSize,
                                                   int unmovableCursorSize,
                                                   java.awt.Color fillColor,
                                                   S shape)
メソッドの詳細

isConstantVisible

@Deprecated
public boolean isConstantVisible()
推奨されていません。 

インタフェース Handle の記述:
このハンドルが常に表示されるべきかを返す。 falseを返すと、グループ化されている場合などに表示されなくなります。

定義:
インタフェース Handle 内の isConstantVisible
オーバーライド:
クラス AbstractSquareHandle<S extends AbstractRelationShape> 内の isConstantVisible
戻り値:
常に表示される場合はtrue、そうでなければfalse

drawHandle

public void drawHandle(java.awt.Graphics g,
                       ShapeRenderingContext context)
インタフェース Handle の記述:
このハンドルを現在の場所に描画する。

定義:
インタフェース Handle 内の drawHandle
オーバーライド:
クラス AbstractSquareHandle<S extends AbstractRelationShape> 内の drawHandle
パラメータ:
g - Grpahicsオブジェクト
context - 描画コンテキスト情報

isDraggable

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

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

endDrag

public void endDrag(java.awt.event.MouseEvent event)
インタフェース Handle の記述:
このハンドルのドラッグが終了したときに呼び出される。

定義:
インタフェース Handle 内の endDrag
オーバーライド:
クラス AbstractHandle<S extends AbstractRelationShape> 内の endDrag
パラメータ:
event - ドラッグ終了時のマウスイベント

getNodeObject

protected abstract PNodeObject getNodeObject()

setNodeObject

protected abstract void setNodeObject(PNodeObject object)

getOppositeNodeObject

protected abstract PNodeObject getOppositeNodeObject()

preEndDrag

protected void preEndDrag()

postEndDrag

protected void postEndDrag()