|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.carabiner.inkpod.pi.shape.handle.AbstractHandle<S> jp.carabiner.inkpod.pi.shape.handle.AbstractBoxHandle<AbstractRelationShape> jp.carabiner.inkpod.pi.shape.handle.RelationTextBoxHandle
public class RelationTextBoxHandle
フィールドの概要 |
---|
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractBoxHandle から継承されたフィールド |
---|
SINGLE_CURSOR_EDITTING_STROKE, SINGLE_CURSOR_STROKE |
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたフィールド |
---|
EMPTY_CHILDREN |
コンストラクタの概要 | |
---|---|
RelationTextBoxHandle(AbstractRelationShape shape)
|
メソッドの概要 | |
---|---|
protected AbstractTextEditor |
createTextEditor(AbstractRelationShape shape)
|
protected void |
filter(java.awt.geom.Point2D point,
java.awt.event.MouseEvent event,
EditorViewConfiguration configuration)
|
java.awt.geom.Rectangle2D |
getBoxBounds()
|
java.awt.geom.Point2D |
getLocation(java.awt.geom.Point2D point)
このハンドルの位置を返す。 |
java.lang.String |
getName()
|
int |
getPadding(EditorViewConfiguration viewConfiguration)
|
boolean |
isBodyHandle()
シェイプの本体のハンドルであるかを返す。 |
boolean |
isConstantVisible()
推奨されていません。 |
boolean |
isDraggable()
このハンドルがドラッグ可能であるかを返す。 |
boolean |
isHit(double x,
double y,
java.awt.event.MouseEvent mouseEvent,
EditorViewConfiguration viewConfiguration)
このハンドルの領域に、指定された座標が含まれるかを調べる。 |
boolean |
isVisible(ShapeRenderingContext context)
|
void |
setLocation(double x,
double y,
java.awt.event.MouseEvent event,
EditorViewConfiguration configuration)
このハンドルの位置を変更する |
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractBoxHandle から継承されたメソッド |
---|
drawHandle, isFocusable, isTopMost, isVisible |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public RelationTextBoxHandle(AbstractRelationShape shape)
メソッドの詳細 |
---|
public java.lang.String getName()
protected AbstractTextEditor createTextEditor(AbstractRelationShape shape)
AbstractHandle<AbstractRelationShape>
内の createTextEditor
public boolean isBodyHandle()
Handle
の記述:
@Deprecated public boolean isConstantVisible()
Handle
の記述:
Handle
内の isConstantVisible
AbstractBoxHandle<AbstractRelationShape>
内の isConstantVisible
public boolean isDraggable()
Handle
の記述:
public java.awt.geom.Point2D getLocation(java.awt.geom.Point2D point)
Handle
の記述:
point
- ハンドルの位置(マップ上の座標系)を格納するPoint2Dオブジェクト
public void setLocation(double x, double y, java.awt.event.MouseEvent event, EditorViewConfiguration configuration)
Handle
の記述:
x
- 新しいX座標(マップ上の座標系)y
- 新しいY座標(マップ上の座標系)event
- ハンドル位置を変更するきっかけになったマウスイベントconfiguration
- ビューの状態public boolean isHit(double x, double y, java.awt.event.MouseEvent mouseEvent, EditorViewConfiguration viewConfiguration)
Handle
の記述:
Handle
内の isHit
AbstractBoxHandle<AbstractRelationShape>
内の isHit
x
- 調べるX座標(マップ上の座標系)y
- 調べるY座標(マップ上の座標系)mouseEvent
- 元のマウスイベントviewConfiguration
- ビューの状態
public boolean isVisible(ShapeRenderingContext context)
AbstractBoxHandle<AbstractRelationShape>
内の isVisible
public java.awt.geom.Rectangle2D getBoxBounds()
AbstractBoxHandle<AbstractRelationShape>
内の getBoxBounds
public int getPadding(EditorViewConfiguration viewConfiguration)
AbstractBoxHandle<AbstractRelationShape>
内の getPadding
protected void filter(java.awt.geom.Point2D point, java.awt.event.MouseEvent event, EditorViewConfiguration configuration)
AbstractHandle<AbstractRelationShape>
内の filter
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |