jp.carabiner.inkpod.pi.shape.renderer
クラス WrappingLineTextRenderer

java.lang.Object
  上位を拡張 jp.carabiner.inkpod.pi.shape.renderer.AbstractTextRenderer
      上位を拡張 jp.carabiner.inkpod.pi.shape.renderer.AbstractPlainTextRenderer
          上位を拡張 jp.carabiner.inkpod.pi.shape.renderer.WrappingLineTextRenderer
すべての実装されたインタフェース:
TextRenderer
直系の既知のサブクラス:
MultipartTextRenderer, RelationTextRenderer

public class WrappingLineTextRenderer
extends AbstractPlainTextRenderer


コンストラクタの概要
WrappingLineTextRenderer()
           
 
メソッドの概要
 java.awt.Shape createBorderShape()
           
protected  RenderableText[] createRenderableTexts()
           
 void draw(java.awt.Graphics g, ShapeRenderingContext context)
           
protected  void drawText(java.awt.Graphics2D g, ShapeRenderingContext context, RenderableText text, java.awt.geom.Rectangle2D bounds, double x, double y, boolean glyphVector)
           
 HorizontalAlign getHorizontalAlign()
           
protected  double getTextHeight()
           
 int getTextHeight(java.awt.Graphics g)
           
 VerticalAlign getVerticalAlign()
           
protected  double horizontalAlignOffset(double boxWidth, double strWidth)
           
 void setHorizontalAlign(HorizontalAlign horizontalAlign)
           
 void setVerticalAlign(VerticalAlign verticalAlign)
           
protected  double verticalAlignOffset(double textHeight)
           
 
クラス jp.carabiner.inkpod.pi.shape.renderer.AbstractPlainTextRenderer から継承されたメソッド
getPreferredWidth, getRenderableTexts, invalidateRedereringData
 
クラス jp.carabiner.inkpod.pi.shape.renderer.AbstractTextRenderer から継承されたメソッド
getBorderLines, getBorderShape, getBounds, getFont, getInsets, getLineMetrics, getLineSpace, getRenderingBounds, getText, getTextAlpha, getTextAlphaComposite, getTextColor, invalidateBorderLines, isAntiAliased, isHit, setAntiAliased, setBounds, setFont, setInsets, setLineSpace, setText, setTextAlpha, setTextColor, updateBorder
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

WrappingLineTextRenderer

public WrappingLineTextRenderer()
メソッドの詳細

getHorizontalAlign

public HorizontalAlign getHorizontalAlign()

setHorizontalAlign

public void setHorizontalAlign(HorizontalAlign horizontalAlign)

getVerticalAlign

public VerticalAlign getVerticalAlign()

setVerticalAlign

public void setVerticalAlign(VerticalAlign verticalAlign)

createRenderableTexts

protected RenderableText[] createRenderableTexts()
定義:
クラス AbstractPlainTextRenderer 内の createRenderableTexts

getTextHeight

public int getTextHeight(java.awt.Graphics g)

draw

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

drawText

protected void drawText(java.awt.Graphics2D g,
                        ShapeRenderingContext context,
                        RenderableText text,
                        java.awt.geom.Rectangle2D bounds,
                        double x,
                        double y,
                        boolean glyphVector)

horizontalAlignOffset

protected double horizontalAlignOffset(double boxWidth,
                                       double strWidth)

verticalAlignOffset

protected double verticalAlignOffset(double textHeight)

getTextHeight

protected double getTextHeight()

createBorderShape

public java.awt.Shape createBorderShape()
定義:
クラス AbstractTextRenderer 内の createBorderShape