jp.carabiner.inkpod.pi.shape.handle
クラス PolylineRelationShapeHandle<S extends PolylineRelationShape>

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

public class PolylineRelationShapeHandle<S extends PolylineRelationShape>
extends AbstractRelationShapeHandle<S>


入れ子のクラスの概要
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractRelationShapeHandle から継承された入れ子のクラス/インタフェース
AbstractRelationShapeHandle.EdgePointHandle, AbstractRelationShapeHandle.EndPointHandle, AbstractRelationShapeHandle.StartPointHandle
 
フィールドの概要
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractRelationShapeHandle から継承されたフィールド
BODY_HANDLE
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたフィールド
EMPTY_CHILDREN
 
コンストラクタの概要
PolylineRelationShapeHandle(S shape)
           
 
メソッドの概要
 boolean click(java.awt.geom.Point2D p, java.awt.event.MouseEvent mouseEvent, EditorViewConfiguration viewConfiguration)
          このハンドルがクリックされたことを通知する。
 Handle[] getChildHandles()
          このハンドルの子のハンドルを返す。
 int indexOfLine(java.awt.geom.Point2D p)
           
 boolean isDraggable()
          このハンドルがドラッグ可能であるかを返す。
protected  boolean updateLineCenterHandles()
           
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractRelationShapeHandle から継承されたメソッド
createEndPointHandle, createRotationHandle, createStartPointHandle, createTextBoxHandle, drawHandle, getEndPointHandle, getLocation, getName, getRotationHandle, getStartPointHandle, getTextBoxHandle, isBodyHandle, isFocusable, isHit, setLocation
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractBodyHandle から継承されたメソッド
isConstantVisible, isTopMost, isVisible
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたメソッド
addHandleDragListener, addTextEditorListener, cancelDrag, createTextEditor, 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
 

コンストラクタの詳細

PolylineRelationShapeHandle

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

getChildHandles

public Handle[] getChildHandles()
インタフェース Handle の記述:
このハンドルの子のハンドルを返す。

定義:
インタフェース Handle 内の getChildHandles
オーバーライド:
クラス AbstractHandle<S extends PolylineRelationShape> 内の getChildHandles
戻り値:
ハンドルの配列

updateLineCenterHandles

protected boolean updateLineCenterHandles()

isDraggable

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

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

click

public boolean click(java.awt.geom.Point2D p,
                     java.awt.event.MouseEvent mouseEvent,
                     EditorViewConfiguration viewConfiguration)
インタフェース Handle の記述:
このハンドルがクリックされたことを通知する。

定義:
インタフェース Handle 内の click
オーバーライド:
クラス AbstractHandle<S extends PolylineRelationShape> 内の click
パラメータ:
p - クリックされた座標(マップ上の座標系)
mouseEvent - マウスイベント
viewConfiguration - ビューの状態
戻り値:
このイベントを処理した場合true、何もしなかった場合はfalse

indexOfLine

public int indexOfLine(java.awt.geom.Point2D p)