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

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.AbstractCornerHandle<S>
すべての実装されたインタフェース:
Handle
直系の既知のサブクラス:
AbstractNodeShapeHandle.LeftBottomHandle, AbstractNodeShapeHandle.LeftTopHandle, AbstractNodeShapeHandle.RightBottomHandle, AbstractNodeShapeHandle.RightTopHandle

public abstract class AbstractCornerHandle<S extends PObjectShape>
extends AbstractSquareHandle<S>


フィールドの概要
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたフィールド
EMPTY_CHILDREN
 
コンストラクタの概要
AbstractCornerHandle(AbstractHandle<S> parent, java.awt.Color fillColor, S shape)
           
AbstractCornerHandle(AbstractHandle<S> parent, S shape)
           
 
メソッドの概要
protected  boolean delegate(AbstractHandle<S> targetHandle)
           
protected  void filter(java.awt.geom.Point2D point, java.awt.event.MouseEvent event, EditorViewConfiguration configuration)
           
protected  java.awt.geom.Point2D getCornerPoint()
           
protected  java.awt.geom.Point2D getOppositeCornerPoint()
           
protected abstract  boolean isEnableKeepAspectRatio()
           
 boolean readyDrag(java.awt.geom.Point2D startPoint, java.awt.event.MouseEvent mouseEvent, EditorViewConfiguration configuration)
          このハンドルのドラッグの準備をしていることを通知する。
protected  void setCornerPoint(java.awt.geom.Point2D cornerPoint)
           
protected  void setOppositeCornerPoint(java.awt.geom.Point2D oppositeCornerPoint)
           
protected abstract  void updatePoints()
           
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractSquareHandle から継承されたメソッド
drawHandle, getCursorPath, getTargetShape, getUnmovableCursorPath, isBodyHandle, isConstantVisible, isDraggable, isFocusable, isHit, isRotationCursor, isTopMost, isVisible, setCursorRotation, setFillColor, setLocation
 
クラス jp.carabiner.inkpod.pi.shape.handle.AbstractHandle から継承されたメソッド
addHandleDragListener, addTextEditorListener, cancelDrag, click, createTextEditor, drag, endDrag, fireDragCanceledEvent, fireDragEndedEvent, fireDragRequestedEvent, fireDragStartedEvent, fireTextEditorEvent, getChildHandles, getCursor, getDragStartPoint, getDragStartPointDelta, getLastClickedPoint, getLocation, getTargetObject, getTextEditor, isDragging, isFocused, isSelected, isSingleSelected, keyPressed, keyReleased, keyTyped, 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
 

コンストラクタの詳細

AbstractCornerHandle

public AbstractCornerHandle(AbstractHandle<S> parent,
                            java.awt.Color fillColor,
                            S shape)

AbstractCornerHandle

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

delegate

protected boolean delegate(AbstractHandle<S> targetHandle)
オーバーライド:
クラス AbstractHandle<S extends PObjectShape> 内の delegate

readyDrag

public boolean readyDrag(java.awt.geom.Point2D startPoint,
                         java.awt.event.MouseEvent mouseEvent,
                         EditorViewConfiguration configuration)
インタフェース Handle の記述:
このハンドルのドラッグの準備をしていることを通知する。

定義:
インタフェース Handle 内の readyDrag
オーバーライド:
クラス AbstractHandle<S extends PObjectShape> 内の readyDrag
パラメータ:
startPoint - 開始点の座標系
mouseEvent - マウスイベント
configuration - ビューの状態
戻り値:
ドラッグの準備ができたらtrue、何らかの理由で失敗したらfalse

updatePoints

protected abstract void updatePoints()

filter

protected void filter(java.awt.geom.Point2D point,
                      java.awt.event.MouseEvent event,
                      EditorViewConfiguration configuration)
オーバーライド:
クラス AbstractHandle<S extends PObjectShape> 内の filter

isEnableKeepAspectRatio

protected abstract boolean isEnableKeepAspectRatio()

setCornerPoint

protected void setCornerPoint(java.awt.geom.Point2D cornerPoint)

setOppositeCornerPoint

protected void setOppositeCornerPoint(java.awt.geom.Point2D oppositeCornerPoint)

getCornerPoint

protected java.awt.geom.Point2D getCornerPoint()

getOppositeCornerPoint

protected java.awt.geom.Point2D getOppositeCornerPoint()