jp.carabiner.inkpod.pi.shape.renderer
クラス AbstractRelationShapeRenderer<S extends AbstractRelationShape>

java.lang.Object
  上位を拡張 jp.carabiner.inkpod.pi.shape.renderer.AbstractShapeRenderer<S>
      上位を拡張 jp.carabiner.inkpod.pi.shape.renderer.AbstractRelationShapeRenderer<S>
すべての実装されたインタフェース:
ShapeRenderer
直系の既知のサブクラス:
CurveRelationShapeRenderer, PolylineRelationShapeRenderer, RightAngleRelationShapeRenderer

public abstract class AbstractRelationShapeRenderer<S extends AbstractRelationShape>
extends AbstractShapeRenderer<S>


コンストラクタの概要
AbstractRelationShapeRenderer(S shape)
           
 
メソッドの概要
 void autoReshape(java.awt.Graphics g, ShapeRenderingContext context)
           
protected  java.awt.geom.AffineTransform createShadowTransform(java.awt.Graphics2D g, EditorViewConfiguration viewConfiguration)
           
protected  java.awt.Shape createStrokedRelationLineShape(EditorViewConfiguration viewConfiguration)
           
protected  java.awt.Shape createStrokedTextBoxShape(EditorViewConfiguration viewConfiguration)
           
protected  RelationTextRenderer createTextRenderer()
           
protected  void drawEdgeLabel(java.awt.Graphics2D g, ShapeRenderingContext context)
           
protected  void drawRelationLine(java.awt.Graphics2D g, ShapeRenderingContext context)
           
protected  void drawShape(java.awt.Graphics2D g, ShapeRenderingContext context)
           
protected  void drawText(java.awt.Graphics g, RelationTextRenderer textRenderer, java.lang.String text, ShapeRenderingContext context)
           
protected  void drawTextBox(java.awt.Graphics g, java.lang.String text, ShapeRenderingContext context)
           
 void flush()
           
protected  AbstractRelationShapeRendererCache getCache(java.awt.geom.AffineTransform at)
           
protected  java.awt.Shape getEndArrowShape(EditorViewConfiguration viewConfiguration)
           
protected  java.awt.Shape getRelationLineShape(EditorViewConfiguration viewConfiguration)
           
 java.awt.Rectangle getRenderingBounds(java.awt.Graphics g, ShapeRenderingContext context)
           
 java.awt.Rectangle getRenderingBounds(java.awt.Rectangle bounds, java.awt.Graphics g, ShapeRenderingContext context)
           
protected  java.awt.Shape getStartArrowShape(EditorViewConfiguration viewConfiguration)
           
protected  java.awt.Shape getStrokedRelationLineShape(EditorViewConfiguration viewConfiguration)
           
protected  java.awt.Shape getStrokedTextBoxShape(EditorViewConfiguration viewConfiguration)
           
protected  java.awt.Shape getTextBoxShape(EditorViewConfiguration viewConfiguration)
           
protected  void initAlphaComposite(java.awt.Graphics2D g, float alpha)
           
protected  void initAlphaComposite(java.awt.Graphics2D g, int alphaPercent)
           
protected  void initRenderer(ShapeRenderingContext context)
           
 void invalidateEndArrowShape()
           
 void invalidateRelationLineShape()
           
 void invalidateStartArrowShape()
           
 void invalidateTextBoxShape()
           
 void notifyBackground()
           
protected  void shapePropertyChanged(java.beans.PropertyChangeEvent event)
           
 
クラス jp.carabiner.inkpod.pi.shape.renderer.AbstractShapeRenderer から継承されたメソッド
drawTypeName, getShape, init, isHitClip, isTypeVisible, notifyOutOfScreen, paint
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AbstractRelationShapeRenderer

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

shapePropertyChanged

protected void shapePropertyChanged(java.beans.PropertyChangeEvent event)
定義:
クラス AbstractShapeRenderer<S extends AbstractRelationShape> 内の shapePropertyChanged

invalidateRelationLineShape

public final void invalidateRelationLineShape()

invalidateStartArrowShape

public final void invalidateStartArrowShape()

invalidateEndArrowShape

public final void invalidateEndArrowShape()

invalidateTextBoxShape

public final void invalidateTextBoxShape()

getCache

protected AbstractRelationShapeRendererCache getCache(java.awt.geom.AffineTransform at)

getRelationLineShape

protected final java.awt.Shape getRelationLineShape(EditorViewConfiguration viewConfiguration)

getStrokedRelationLineShape

protected final java.awt.Shape getStrokedRelationLineShape(EditorViewConfiguration viewConfiguration)

createStrokedRelationLineShape

protected java.awt.Shape createStrokedRelationLineShape(EditorViewConfiguration viewConfiguration)

getTextBoxShape

protected final java.awt.Shape getTextBoxShape(EditorViewConfiguration viewConfiguration)

getStrokedTextBoxShape

protected final java.awt.Shape getStrokedTextBoxShape(EditorViewConfiguration viewConfiguration)

createStrokedTextBoxShape

protected java.awt.Shape createStrokedTextBoxShape(EditorViewConfiguration viewConfiguration)

getStartArrowShape

protected java.awt.Shape getStartArrowShape(EditorViewConfiguration viewConfiguration)

getEndArrowShape

protected java.awt.Shape getEndArrowShape(EditorViewConfiguration viewConfiguration)

initRenderer

protected void initRenderer(ShapeRenderingContext context)
定義:
クラス AbstractShapeRenderer<S extends AbstractRelationShape> 内の initRenderer

drawShape

protected void drawShape(java.awt.Graphics2D g,
                         ShapeRenderingContext context)
定義:
クラス AbstractShapeRenderer<S extends AbstractRelationShape> 内の drawShape

drawRelationLine

protected void drawRelationLine(java.awt.Graphics2D g,
                                ShapeRenderingContext context)

drawTextBox

protected void drawTextBox(java.awt.Graphics g,
                           java.lang.String text,
                           ShapeRenderingContext context)

drawText

protected void drawText(java.awt.Graphics g,
                        RelationTextRenderer textRenderer,
                        java.lang.String text,
                        ShapeRenderingContext context)

autoReshape

public void autoReshape(java.awt.Graphics g,
                        ShapeRenderingContext context)

createTextRenderer

protected RelationTextRenderer createTextRenderer()

getRenderingBounds

public java.awt.Rectangle getRenderingBounds(java.awt.Graphics g,
                                             ShapeRenderingContext context)
定義:
インタフェース ShapeRenderer 内の getRenderingBounds
オーバーライド:
クラス AbstractShapeRenderer<S extends AbstractRelationShape> 内の getRenderingBounds

getRenderingBounds

public java.awt.Rectangle getRenderingBounds(java.awt.Rectangle bounds,
                                             java.awt.Graphics g,
                                             ShapeRenderingContext context)

drawEdgeLabel

protected void drawEdgeLabel(java.awt.Graphics2D g,
                             ShapeRenderingContext context)

createShadowTransform

protected java.awt.geom.AffineTransform createShadowTransform(java.awt.Graphics2D g,
                                                              EditorViewConfiguration viewConfiguration)

initAlphaComposite

protected void initAlphaComposite(java.awt.Graphics2D g,
                                  int alphaPercent)

initAlphaComposite

protected void initAlphaComposite(java.awt.Graphics2D g,
                                  float alpha)

notifyBackground

public void notifyBackground()

flush

public void flush()