jp.carabiner.inkpod.pi.shape
クラス AbstractRectangleShape

java.lang.Object
  上位を拡張 jp.carabiner.inkpod.pi.shape.AbstractObjectShape<T>
      上位を拡張 jp.carabiner.inkpod.pi.shape.AbstractDefaultObjectShape<PNodeObject>
          上位を拡張 jp.carabiner.inkpod.pi.shape.AbstractNodeShape
              上位を拡張 jp.carabiner.inkpod.pi.shape.AbstractRectangleShape
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Cloneable, IAbstractNodeShape, IAbstractRectangleShape, IDefaultObjectShape, INodeObjectShape, IObjectShape, PAbstractNodeShape, PAbstractRectangleShape, PDefaultObjectShape, PNodeObjectShape, PObjectShape
直系の既知のサブクラス:
DiamondShape, OvalShape, RectangleShape, RoundrectShape

public abstract class AbstractRectangleShape
extends AbstractNodeShape
implements IAbstractRectangleShape

矩形ベースのノード・オブジェクト用シェイプの基礎となる抽象クラス

関連項目:
直列化された形式

入れ子のクラスの概要
 
クラス jp.carabiner.inkpod.pi.shape.AbstractNodeShape から継承された入れ子のクラス/インタフェース
AbstractNodeShape.ConnectionPointCache
 
フィールドの概要
static double DEFAULT_OBJECT_HEIGHT
           
static double DEFAULT_OBJECT_WIDTH
           
 
クラス jp.carabiner.inkpod.pi.shape.AbstractNodeShape から継承されたフィールド
cacheLock, connectionPointCache
 
クラス jp.carabiner.inkpod.pi.shape.AbstractDefaultObjectShape から継承されたフィールド
DEFAULT_FILL_COLOR, DEFAULT_FILL_COLOR2, DEFAULT_FONT, DEFAULT_LINE_COLOR, DEFAULT_SHADOW_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_PADDING
 
クラス jp.carabiner.inkpod.pi.shape.AbstractObjectShape から継承されたフィールド
editting, propertyChangeSupport
 
コンストラクタの概要
AbstractRectangleShape(PNodeObject object)
           
 
メソッドの概要
 java.lang.Object clone()
          このシェイプオブジェクトを複製します。
 boolean contains(double x, double y, boolean includeFillArea)
           
 boolean contains(double x, double y, boolean includeFillArea, EditorViewConfiguration viewConfiguration)
           
 void dispose()
          シェイプを破棄します。
 int getBottomImagePadding()
           
protected  ShapeLine[] getConnectionBorderLines()
           
 java.awt.geom.Rectangle2D getContentBounds()
           
 java.awt.geom.Rectangle2D getContentBounds(java.awt.geom.Rectangle2D bounds)
           
abstract  java.awt.Insets getContentInsets()
           
abstract  RectangleShapeHandle<? extends AbstractRectangleShape> getHandle()
          このシェイプオブジェクトを操作するためのハンドルを返す。
 int getImageAlpha()
           
protected  ShapeLine[] getImageBorderLines()
          画像領域の境界線を返す。
 java.awt.geom.Rectangle2D getImageBounds()
           
 HorizontalAlign getImageHorizontalAlign()
           
 int getImagePadding()
          推奨されていません。 
 Resource getImageResource()
           
 ScalingType getImageScalingType()
           
 VerticalAlign getImageVerticalAlign()
           
 int getLeftImagePadding()
           
abstract  AbstractRectangleShapeRenderer getRenderer()
          このシェイプオブジェクトのレンダラーを返します。
 int getRightImagePadding()
           
 int getTextHeight()
           
 int getTopImagePadding()
           
 boolean hasImage()
           
 boolean intersects(java.awt.geom.Rectangle2D rect, boolean includeFillArea)
           
 boolean isKeepImageAspectRatio()
           
protected  boolean isResizing()
           
 boolean isTextHeightFit()
           
 void setBottomImagePadding(int bottomImagePadding)
           
 void setBottomTextPadding(int bottomTextPadding)
           
 void setFont(java.awt.Font font)
           
 void setImageAlpha(int imageAlpha)
           
 void setImageHorizontalAlign(HorizontalAlign imageHorizontalAlign)
           
 void setImagePadding(int imagePadding)
          推奨されていません。 
 void setImageResource(Resource imageResource)
           
 void setImageScalingType(ScalingType imageScalingType)
           
 void setImageVerticalAlign(VerticalAlign imageVerticalAlign)
           
 void setKeepImageAspectRatio(boolean keepImageAspectRatio)
           
 void setLeftImagePadding(int leftImagePadding)
           
 void setPreferredHeight()
           
 void setPreferredWidth()
           
 void setRightImagePadding(int rightImagePadding)
           
 void setSizeToImageAspectRatio()
           
 void setText(java.lang.String text)
           
 void setTextHeightFit(boolean fit)
           
 void setTopImagePadding(int topImagePadding)
           
 void setTopTextPadding(int topTextPadding)
           
protected  void shapePropertyChanged(java.beans.PropertyChangeEvent event)
           
 
クラス jp.carabiner.inkpod.pi.shape.AbstractNodeShape から継承されたメソッド
applyAutoResize, applyAutoResize, applyAutoResize, applyAutoResize, applyRenderingAutoReshape, autoReshape, autoReshape, autoResize, autoResize, beginEditing, cancelEditing, createFrameLineShape, createFrameShape, endEditing, getAutoSize, getBottom, getBounds, getBounds2D, getCenterPoint, getConnectionPoint, getConnectionPoint, getConnectionPoint, getFrameLines, getFrameLineShape, getFrameShape, getFrameShapeHitBounds, getHeight, getLeft, getLeftTop, getLeftTop, getLocation, getLocation, getObsoleteTransformableBounds, getRawBounds, getRawRect, getRawRect, getRawRenderingBounds2D, getRawX, getRawY, getRect, getRect, getRenderingBounds, getRight, getRotatedFrameShape, getSize, getSize, getStrokedFrameLineShape, getStrokedRotatedFrameLineShape, getStrokedThickFrameLineShape, getTextRenderer, getTop, getTransformableBounds, getWidth, getX, getY, invalidateFrameShapeCache, invalidateRotatedShapeCache, invalidateStrokedFrameShapeCache, invalidateTransform, isBoundsMovable, isHorizontalResizable, isSampleMode, isTextEditting, isUnmovable, isUnresizable, isVerticalResizable, newInversionRotationPoint, newInversionRotationPoint, newInversionRotationPoint, newInversionRotationPoint, newRotationCenterPoint, readyAutoReshape, reshapeRegular, reshapeRegular, reshapeRegular, setAutoSize, setBottom, setBounds, setHeight, setInlineEditorSize, setLeft, setLeftBottom, setLeftTop, setLocation, setLocation, setLocation, setRawRect, setRawRect, setRawX, setRawY, setRect, setRect, setRect, setRect, setRect, setRect, setRight, setRightBottom, setRightTop, setSampleShapeBounds, setSize, setTextRenderer, setTop, setUnmovable, setUnresizable, setWidth, setX, setY, transformShape
 
クラス jp.carabiner.inkpod.pi.shape.AbstractDefaultObjectShape から継承されたメソッド
fireRotationCenterPointChangeEvent, flipHorizontal, flipVertical, getBottomTextPadding, getFillAlpha, getFillColor, getFillColor2, getFont, getFrameAlpha, getGradientTypeName, getLeftTextPadding, getLineColor, getLineType, getLineWidth, getRightTextPadding, getRotation, getRotationCenterPoint, getRotationTransform, getSearchableText, getShadowAlpha, getShadowColor, getShadowOffset, getText, getTextAlign, getTextAlpha, getTextColor, getTextLineSpace, getTextPadding, getTextVerticalAlign, getTopTextPadding, isDrawFrame, isFill, isFlip, isGradient, isShadow, isTextUneditable, setDrawFrame, setFill, setFillAlpha, setFillColor, setFillColor2, setFlip, setFrameAlpha, setGradient, setGradientTypeName, setLeftTextPadding, setLineColor, setLineType, setLineWidth, setRightTextPadding, setRotation, setRotationCenterPoint, setShadow, setShadowAlpha, setShadowColor, setShadowOffset, setTextAlign, setTextAlpha, setTextColor, setTextLineSpace, setTextUneditable, setTextVerticalAlign, updateRotationTransform
 
クラス jp.carabiner.inkpod.pi.shape.AbstractObjectShape から継承されたメソッド
addPropertyChangeListener, addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBounds, getCenterPoint, getDependentShapes, getGroupBoundsTransform, getGroupBoundsTransform, getImpliedlyEditedShapes, getInitialEditingHandle, getObject, getObsoleteTransformableBounds, getParentShape, getRenderingBounds, getTransformableBounds, isBoundsResizable, isEditing, isSelectable, removePropertyChangeListener, removePropertyChangeListener, setLocation, setObject, shapeChanged, shapeWillBeChanged, startInitialEditing, updateShape
 
クラス java.lang.Object から継承されたメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース jp.carabiner.inkpod.pi.shape.IAbstractRectangleShape から継承されたメソッド
getAutoSize
 
インタフェース jp.carabiner.inkpod.pi.shape.PAbstractRectangleShape から継承されたメソッド
getBottom, getHeight, getLeft, getRect, getRect, getRight, getTop, getWidth, getX, getY, isUnmovable, isUnresizable, setBottom, setHeight, setLeft, setLeftBottom, setLeftTop, setRect, setRect, setRight, setRightBottom, setRightTop, setSize, setTop, setUnmovable, setUnresizable, setWidth, setX, setY
 
インタフェース jp.carabiner.inkpod.pi.shape.IAbstractNodeShape から継承されたメソッド
getRawX, getRawY, setRawX, setRawY
 
インタフェース jp.carabiner.inkpod.pi.shape.PAbstractNodeShape から継承されたメソッド
getTextRenderer, setTextRenderer
 
インタフェース jp.carabiner.inkpod.pi.shape.PNodeObjectShape から継承されたメソッド
getBounds2D, getConnectionPoint, getConnectionPoint, getFrameLineShape, getFrameShape, getObject, getRotatedFrameShape, getStrokedFrameLineShape, getStrokedRotatedFrameLineShape
 
インタフェース jp.carabiner.inkpod.pi.shape.PDefaultObjectShape から継承されたメソッド
getBottomTextPadding, getFillAlpha, getFillColor, getFillColor2, getFont, getFrameAlpha, getGradientTypeName, getLeftTextPadding, getLineColor, getLineType, getLineWidth, getRightTextPadding, getShadowAlpha, getShadowColor, getShadowOffset, getTextAlign, getTextAlpha, getTextColor, getTextLineSpace, getTextVerticalAlign, getTopTextPadding, isDrawFrame, isFill, isGradient, isShadow, isTextUneditable, setDrawFrame, setFill, setFillAlpha, setFillColor, setFillColor2, setFrameAlpha, setGradient, setGradientTypeName, setLeftTextPadding, setLineColor, setLineType, setLineWidth, setRightTextPadding, setShadow, setShadowAlpha, setShadowColor, setShadowOffset, setTextAlign, setTextAlpha, setTextColor, setTextLineSpace, setTextUneditable, setTextVerticalAlign
 
インタフェース jp.carabiner.inkpod.pi.shape.IObjectShape から継承されたメソッド
addPropertyChangeListener, addPropertyChangeListener, applyRenderingAutoReshape, beginEditing, cancelEditing, clone, endEditing, getDependentShapes, getImpliedlyEditedShapes, getInitialEditingHandle, getObsoleteTransformableBounds, getObsoleteTransformableBounds, getRenderingBounds, getRenderingBounds, getRotationCenterPoint, getTransformableBounds, getTransformableBounds, invalidateTransform, isSelectable, removePropertyChangeListener, removePropertyChangeListener, setObject, setRotationCenterPoint, setSampleShapeBounds, shapeChanged, shapeWillBeChanged, startInitialEditing, transformShape, updateShape
 
インタフェース jp.carabiner.inkpod.pi.shape.PObjectShape から継承されたメソッド
autoReshape, autoReshape, flipHorizontal, flipVertical, getBounds, getBounds, getCenterPoint, getCenterPoint, getLocation, getLocation, getRawBounds, getRotation, getRotationTransform, getSearchableText, getShapeType, getShapeTypeName, getText, isBoundsMovable, isBoundsResizable, isEditing, isFlip, isHorizontalResizable, isVerticalResizable, readyAutoReshape, setBounds, setFlip, setLocation, setLocation, setLocation, setLocation, setRotation
 

フィールドの詳細

DEFAULT_OBJECT_WIDTH

public static final double DEFAULT_OBJECT_WIDTH
関連項目:
定数フィールド値

DEFAULT_OBJECT_HEIGHT

public static final double DEFAULT_OBJECT_HEIGHT
関連項目:
定数フィールド値
コンストラクタの詳細

AbstractRectangleShape

public AbstractRectangleShape(PNodeObject object)
メソッドの詳細

shapePropertyChanged

protected void shapePropertyChanged(java.beans.PropertyChangeEvent event)
オーバーライド:
クラス AbstractNodeShape 内の shapePropertyChanged

clone

public java.lang.Object clone()
インタフェース IObjectShape の記述:
このシェイプオブジェクトを複製します。

定義:
インタフェース IObjectShape 内の clone
オーバーライド:
クラス AbstractNodeShape 内の clone
戻り値:
複製されたシェイプオブジェクト

dispose

public void dispose()
インタフェース IObjectShape の記述:
シェイプを破棄します。

定義:
インタフェース IObjectShape 内の dispose
オーバーライド:
クラス AbstractNodeShape 内の dispose

getRenderer

public abstract AbstractRectangleShapeRenderer getRenderer()
インタフェース IObjectShape の記述:
このシェイプオブジェクトのレンダラーを返します。

定義:
インタフェース IObjectShape 内の getRenderer
定義:
インタフェース PNodeObjectShape 内の getRenderer
定義:
インタフェース PObjectShape 内の getRenderer
定義:
クラス AbstractNodeShape 内の getRenderer
戻り値:
このシェイプオブジェクトのレンダラー

getHandle

public abstract RectangleShapeHandle<? extends AbstractRectangleShape> getHandle()
インタフェース IObjectShape の記述:
このシェイプオブジェクトを操作するためのハンドルを返す。

定義:
インタフェース IObjectShape 内の getHandle
定義:
クラス AbstractNodeShape 内の getHandle
戻り値:
このシェイプを操作するためのハンドル

isResizing

protected boolean isResizing()
定義:
クラス AbstractNodeShape 内の isResizing

getImageBounds

public java.awt.geom.Rectangle2D getImageBounds()

getImageBorderLines

protected final ShapeLine[] getImageBorderLines()
画像領域の境界線を返す。

戻り値:
画像領域の境界線を表す線の配列

getConnectionBorderLines

protected ShapeLine[] getConnectionBorderLines()
オーバーライド:
クラス AbstractNodeShape 内の getConnectionBorderLines

contains

public boolean contains(double x,
                        double y,
                        boolean includeFillArea)
定義:
インタフェース PObjectShape 内の contains
オーバーライド:
クラス AbstractNodeShape 内の contains

contains

public boolean contains(double x,
                        double y,
                        boolean includeFillArea,
                        EditorViewConfiguration viewConfiguration)
オーバーライド:
クラス AbstractNodeShape 内の contains

intersects

public boolean intersects(java.awt.geom.Rectangle2D rect,
                          boolean includeFillArea)
定義:
インタフェース PObjectShape 内の intersects
オーバーライド:
クラス AbstractNodeShape 内の intersects

getContentBounds

public java.awt.geom.Rectangle2D getContentBounds()

getContentBounds

public java.awt.geom.Rectangle2D getContentBounds(java.awt.geom.Rectangle2D bounds)

getContentInsets

public abstract java.awt.Insets getContentInsets()

isTextHeightFit

public boolean isTextHeightFit()
定義:
インタフェース PAbstractRectangleShape 内の isTextHeightFit

setTextHeightFit

public void setTextHeightFit(boolean fit)
定義:
インタフェース PAbstractRectangleShape 内の setTextHeightFit

getImageResource

public Resource getImageResource()
定義:
インタフェース PAbstractRectangleShape 内の getImageResource

setImageResource

public void setImageResource(Resource imageResource)
定義:
インタフェース PAbstractRectangleShape 内の setImageResource

hasImage

public boolean hasImage()
定義:
インタフェース PAbstractRectangleShape 内の hasImage

isKeepImageAspectRatio

public boolean isKeepImageAspectRatio()
定義:
インタフェース PAbstractRectangleShape 内の isKeepImageAspectRatio

setKeepImageAspectRatio

public void setKeepImageAspectRatio(boolean keepImageAspectRatio)
定義:
インタフェース PAbstractRectangleShape 内の setKeepImageAspectRatio

getImageAlpha

public int getImageAlpha()
定義:
インタフェース PAbstractRectangleShape 内の getImageAlpha

setImageAlpha

public void setImageAlpha(int imageAlpha)
定義:
インタフェース PAbstractRectangleShape 内の setImageAlpha

getImagePadding

@Deprecated
public int getImagePadding()
推奨されていません。 

定義:
インタフェース PAbstractRectangleShape 内の getImagePadding

setImagePadding

@Deprecated
public void setImagePadding(int imagePadding)
推奨されていません。 

定義:
インタフェース PAbstractRectangleShape 内の setImagePadding

getLeftImagePadding

public int getLeftImagePadding()
定義:
インタフェース PAbstractRectangleShape 内の getLeftImagePadding

setLeftImagePadding

public void setLeftImagePadding(int leftImagePadding)
定義:
インタフェース PAbstractRectangleShape 内の setLeftImagePadding

getRightImagePadding

public int getRightImagePadding()
定義:
インタフェース PAbstractRectangleShape 内の getRightImagePadding

setRightImagePadding

public void setRightImagePadding(int rightImagePadding)
定義:
インタフェース PAbstractRectangleShape 内の setRightImagePadding

getTopImagePadding

public int getTopImagePadding()
定義:
インタフェース PAbstractRectangleShape 内の getTopImagePadding

setTopImagePadding

public void setTopImagePadding(int topImagePadding)
定義:
インタフェース PAbstractRectangleShape 内の setTopImagePadding

getBottomImagePadding

public int getBottomImagePadding()
定義:
インタフェース PAbstractRectangleShape 内の getBottomImagePadding

setBottomImagePadding

public void setBottomImagePadding(int bottomImagePadding)
定義:
インタフェース PAbstractRectangleShape 内の setBottomImagePadding

getImageHorizontalAlign

public HorizontalAlign getImageHorizontalAlign()
定義:
インタフェース PAbstractRectangleShape 内の getImageHorizontalAlign

setImageHorizontalAlign

public void setImageHorizontalAlign(HorizontalAlign imageHorizontalAlign)
定義:
インタフェース PAbstractRectangleShape 内の setImageHorizontalAlign

getImageVerticalAlign

public VerticalAlign getImageVerticalAlign()
定義:
インタフェース PAbstractRectangleShape 内の getImageVerticalAlign

setImageVerticalAlign

public void setImageVerticalAlign(VerticalAlign imageVerticalAlign)
定義:
インタフェース PAbstractRectangleShape 内の setImageVerticalAlign

getImageScalingType

public ScalingType getImageScalingType()
定義:
インタフェース PAbstractRectangleShape 内の getImageScalingType

setImageScalingType

public void setImageScalingType(ScalingType imageScalingType)
定義:
インタフェース PAbstractRectangleShape 内の setImageScalingType

getTextHeight

public int getTextHeight()
定義:
インタフェース PAbstractRectangleShape 内の getTextHeight

setPreferredWidth

public void setPreferredWidth()
定義:
インタフェース PAbstractRectangleShape 内の setPreferredWidth

setPreferredHeight

public void setPreferredHeight()
定義:
インタフェース PAbstractRectangleShape 内の setPreferredHeight

setText

public void setText(java.lang.String text)
定義:
インタフェース IObjectShape 内の setText
定義:
インタフェース PDefaultObjectShape 内の setText
オーバーライド:
クラス AbstractDefaultObjectShape<PNodeObject> 内の setText

setFont

public void setFont(java.awt.Font font)
定義:
インタフェース PDefaultObjectShape 内の setFont
オーバーライド:
クラス AbstractDefaultObjectShape<PNodeObject> 内の setFont

setTopTextPadding

public void setTopTextPadding(int topTextPadding)
定義:
インタフェース PDefaultObjectShape 内の setTopTextPadding
オーバーライド:
クラス AbstractDefaultObjectShape<PNodeObject> 内の setTopTextPadding

setBottomTextPadding

public void setBottomTextPadding(int bottomTextPadding)
定義:
インタフェース PDefaultObjectShape 内の setBottomTextPadding
オーバーライド:
クラス AbstractDefaultObjectShape<PNodeObject> 内の setBottomTextPadding

setSizeToImageAspectRatio

public void setSizeToImageAspectRatio()
定義:
インタフェース PAbstractRectangleShape 内の setSizeToImageAspectRatio