content
The content.
Serializable
, Cloneable
, Block
, Drawable
, PublicCloneable
DateTitle
, ShortTextTitle
private Paint
private TextBlock
static final Font
static final Paint
private boolean
private Font
private int
private Paint
private static final long
private String
private HorizontalAlignment
private String
null
).private String
null
).DEFAULT_HORIZONTAL_ALIGNMENT, DEFAULT_PADDING, DEFAULT_POSITION, DEFAULT_VERTICAL_ALIGNMENT, visible
TextTitle(String text,
Font font,
Paint paint,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
arrange(Graphics2D g2,
RectangleConstraint constraint)
protected Size2D
arrangeFN(Graphics2D g2,
double w)
protected Size2D
arrangeNN(Graphics2D g2)
protected Size2D
arrangeRN(Graphics2D g2,
Range widthRange)
protected Size2D
arrangeRR(Graphics2D g2,
Range widthRange,
Range heightRange)
boolean
clone()
void
draw(Graphics2D g2,
Rectangle2D area)
draw(Graphics2D g2,
Rectangle2D area,
Object params)
protected void
drawHorizontal(Graphics2D g2,
Rectangle2D area)
protected void
drawVertical(Graphics2D g2,
Rectangle2D area)
boolean
boolean
getFont()
int
getPaint()
getText()
int
hashCode()
private void
readObject(ObjectInputStream stream)
void
setBackgroundPaint(Paint paint)
TitleChangeEvent
to all
registered listeners.void
setExpandToFitSpace(boolean expand)
TitleChangeEvent
to all registered
listeners.void
void
setMaximumLinesToDisplay(int max)
TitleChangeEvent
to all registered listeners.void
void
TitleChangeEvent
to all registered listeners.void
setTextAlignment(HorizontalAlignment alignment)
TitleChangeEvent
to
all registered listeners.void
setToolTipText(String text)
TitleChangeEvent
to all registered listeners.void
setURLText(String text)
TitleChangeEvent
to all registered listeners.private void
writeObject(ObjectOutputStream stream)
addChangeListener, getHorizontalAlignment, getNotify, getPosition, getVerticalAlignment, isVisible, notifyListeners, removeChangeListener, setHorizontalAlignment, setNotify, setPosition, setVerticalAlignment, setVisible
arrange, calculateTotalHeight, calculateTotalWidth, drawBorder, getBounds, getContentXOffset, getContentYOffset, getFrame, getHeight, getID, getMargin, getPadding, getWidth, setBorder, setBounds, setFrame, setHeight, setID, setMargin, setMargin, setPadding, setPadding, setWidth, toContentConstraint, trimBorder, trimMargin, trimPadding, trimToContentHeight, trimToContentWidth
null
).null
).text
- the title text (null
not permitted).text
- the title text (null
not permitted).font
- the title font (null
not permitted).text
- the text for the title (null
not permitted).font
- the title font (null
not permitted).paint
- the title paint (null
not permitted).position
- the title position (null
not permitted).horizontalAlignment
- the horizontal alignment (null
not permitted).verticalAlignment
- the vertical alignment (null
not
permitted).padding
- the space to leave around the outside of the title.null
).TitleChangeEvent
to all registered listeners.text
- the text (null
not permitted).TitleChangeEvent
to
all registered listeners.alignment
- the alignment (null
not permitted).null
).font
- the new font (null
not permitted).null
).paint
- the new paint (null
not permitted).null
).TitleChangeEvent
to all
registered listeners. If you set this attribute to null
,
no background is painted (which makes the title background transparent).paint
- the background paint (null
permitted).null
).TitleChangeEvent
to all registered listeners.text
- the text (null
permitted).null
).TitleChangeEvent
to all registered listeners.text
- the text (null
permitted).TitleChangeEvent
to all registered
listeners.expand
- the flag.TitleChangeEvent
to all registered listeners.max
- the maximum.arrange
in interface Block
arrange
in class AbstractBlock
g2
- the graphics device.constraint
- the constraint (null
not permitted).null
).g2
- the graphics target.g2
- the graphics target.w
- the width.g2
- the graphics target.widthRange
- the range for the width.g2
- the graphics device.widthRange
- the width range.heightRange
- the height range.draw
in interface Block
g2
- the graphics device.area
- the area.params
- if this is an instance of EntityBlockParams
it
is used to determine whether or not an
EntityCollection
is returned by this method.EntityCollection
containing a chart entity for the
title, or null
.draw
method.g2
- the graphics device.area
- the area for the title.draw
method.g2
- the graphics device.area
- the area for the title.clone
in interface PublicCloneable
clone
in class Title
CloneNotSupportedException
- never.stream
- the output stream.IOException
- if there is an I/O error.stream
- the input stream.IOException
- if there is an I/O error.ClassNotFoundException
- if there is a classpath problem.