jp.carabiner.inkpod.pi.shape.handle
クラス AbstractBoxHandle<S extends PObjectShape>

java.lang.Object
  上位を拡張 jp.carabiner.inkpod.pi.shape.handle.AbstractHandle<S>
      上位を拡張 jp.carabiner.inkpod.pi.shape.handle.AbstractBoxHandle<S>
すべての実装されたインタフェース:
Handle
直系の既知のサブクラス:
AbstractNodeShapeHandle, RelationTextBoxHandle

public abstract class AbstractBoxHandle<S extends PObjectShape>
extends AbstractHandle<S>


フィールドの概要
protected static java.awt.Stroke SINGLE_CURSOR_EDITTING_STROKE
           
protected static java.awt.Stroke SINGLE_CURSOR_STROKE
           
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたフィールド
EMPTY_CHILDREN
 
コンストラクタの概要
AbstractBoxHandle(AbstractHandle<S> parent, S shape)
           
AbstractBoxHandle(S shape)
           
 
メソッドの概要
 void drawHandle(java.awt.Graphics g, ShapeRenderingContext context)
          このハンドルを現在の場所に描画する。
abstract  java.awt.geom.Rectangle2D getBoxBounds()
           
abstract  int getPadding(EditorViewConfiguration viewConfiguration)
           
 boolean isConstantVisible()
          推奨されていません。 
 boolean isFocusable()
           
 boolean isHit(double x, double y, java.awt.event.MouseEvent mouseEvent, EditorViewConfiguration viewConfiguration)
          このハンドルの領域に、指定された座標が含まれるかを調べる。
 boolean isTopMost()
           
 boolean isVisible(boolean topLevel, boolean selected, boolean singleSelected)
           
abstract  boolean isVisible(ShapeRenderingContext context)
           
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたメソッド
addHandleDragListener, addTextEditorListener, cancelDrag, click, createTextEditor, delegate, drag, endDrag, filter, fireDragCanceledEvent, fireDragEndedEvent, fireDragRequestedEvent, fireDragStartedEvent, fireTextEditorEvent, getChildHandles, 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
 
インタフェース jp.carabiner.inkpod.pi.shape.handle.Handle から継承されたメソッド
getLocation, getName, isBodyHandle, isDraggable, setLocation
 

フィールドの詳細

SINGLE_CURSOR_STROKE

protected static final java.awt.Stroke SINGLE_CURSOR_STROKE

SINGLE_CURSOR_EDITTING_STROKE

protected static final java.awt.Stroke SINGLE_CURSOR_EDITTING_STROKE
コンストラクタの詳細

AbstractBoxHandle

public AbstractBoxHandle(S shape)

AbstractBoxHandle

public AbstractBoxHandle(AbstractHandle<S> parent,
                         S shape)
メソッドの詳細

isConstantVisible

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

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

戻り値:
常に表示される場合はtrue、そうでなければfalse

isVisible

public boolean isVisible(boolean topLevel,
                         boolean selected,
                         boolean singleSelected)

isFocusable

public boolean isFocusable()

isTopMost

public boolean isTopMost()

isVisible

public abstract boolean isVisible(ShapeRenderingContext context)

getBoxBounds

public abstract java.awt.geom.Rectangle2D getBoxBounds()

getPadding

public abstract int getPadding(EditorViewConfiguration viewConfiguration)

isHit

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

パラメータ:
x - 調べるX座標(マップ上の座標系)
y - 調べるY座標(マップ上の座標系)
mouseEvent - 元のマウスイベント
viewConfiguration - ビューの状態
戻り値:
ハンドルの領域に、指定された座標が含まれていたらtrue

drawHandle

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

パラメータ:
g - Grpahicsオブジェクト
context - 描画コンテキスト情報