org.jplot2d.element.impl
Interface AxisTitleEx
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voiddraw(java.awt.Graphics2D g, double x, double y)Draw this component only.java.awt.geom.Dimension2DgetSize()Returns the title size.MathElementgetTextModel()Returns the math model of this component.voidsetTextModel(MathElement model)Sets the math model of this component.voidsetVAlign(VAlign vAlign)Set the vertical alignment.-
Methods inherited from interface org.jplot2d.element.AxisTitle
getColor, getEffectiveFont, getFontName, getFontScale, getFontSize, getFontStyle, getText, isVisible, setColor, setFont, setFontName, setFontScale, setFontSize, setFontStyle, setText, setVisible
-
Methods inherited from interface org.jplot2d.element.impl.ElementEx
copyFrom, copyStructure, getFullId, getInvokeStepFormParent, getParent, notify, setParent
-
Methods inherited from interface org.jplot2d.element.Element
getEnvironment, getId
-
-
-
-
Method Detail
-
getTextModel
MathElement getTextModel()
Returns the math model of this component.- Returns:
- the math model
-
setTextModel
void setTextModel(MathElement model)
Sets the math model of this component.- Parameters:
model- the math model
-
setVAlign
void setVAlign(VAlign vAlign)
Set the vertical alignment. The alignment can be TOP, MIDDLE, or BOTTOM. eg, TOP means the title is on the top of the base point- Parameters:
vAlign- the vertical alignment.
-
getSize
java.awt.geom.Dimension2D getSize()
Returns the title size. The units of bounds is pt (1/72 inch)- Returns:
- the paper bounds of this title.
-
draw
void draw(java.awt.Graphics2D g, double x, double y)Draw this component only. All its children is not drawn.- Parameters:
g- to the Graphics2D drawing. The transformation of this component is not applied.x- the x positiony- the y position
-
-
DMelt 3.0 © DataMelt by jWork.ORG