public class ShortTextTitle extends TextTitle
TextTitle class.TextTitle,
Serialized FormDEFAULT_FONT, DEFAULT_TEXT_PAINTDEFAULT_HORIZONTAL_ALIGNMENT, DEFAULT_PADDING, DEFAULT_POSITION, DEFAULT_VERTICAL_ALIGNMENT, visible| Constructor and Description |
|---|
ShortTextTitle(String text)
Creates a new title.
|
| Modifier and Type | Method and Description |
|---|---|
org.jfree.ui.Size2D |
arrange(Graphics2D g2,
RectangleConstraint constraint)
Performs a layout for this title, subject to the supplied constraint,
and returns the dimensions required for the title (if the title
cannot be displayed in the available space, this method will return
zero width and height for the dimensions).
|
Object |
draw(Graphics2D g2,
Rectangle2D area,
Object params)
Draws the title using the current font and paint.
|
clone, draw, equals, getBackgroundPaint, getExpandToFitSpace, getFont, getMaximumLinesToDisplay, getPaint, getText, getTextAlignment, getToolTipText, getURLText, hashCode, setBackgroundPaint, setExpandToFitSpace, setFont, setMaximumLinesToDisplay, setPaint, setText, setTextAlignment, setToolTipText, setURLTextaddChangeListener, getHorizontalAlignment, getNotify, getPosition, getVerticalAlignment, isVisible, removeChangeListener, setHorizontalAlignment, setNotify, setPosition, setVerticalAlignment, setVisiblearrange, getBorder, getBounds, getContentXOffset, getContentYOffset, getFrame, getHeight, getID, getMargin, getPadding, getWidth, setBorder, setBorder, setBounds, setFrame, setHeight, setID, setMargin, setMargin, setPadding, setPadding, setWidthpublic ShortTextTitle(String text)
text - the text (null not permitted).public org.jfree.ui.Size2D arrange(Graphics2D g2, RectangleConstraint constraint)
public Object draw(Graphics2D g2, Rectangle2D area, Object params)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics