public class Text extends GraphicalPrimitive1D implements FontRenderStyle, Point3D
stroke, strokeDashArray, strokeWidthtransformignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
Text() |
Text(int level,
int version) |
Text(Text obj) |
| Modifier and Type | Method and Description |
|---|---|
Text |
clone() |
boolean |
equals(Object obj) |
FontFamily |
getFontFamily() |
short |
getFontSize() |
HTextAnchor |
getTextAnchor() |
VTextAnchor |
getVTextAnchor() |
double |
getX() |
double |
getY() |
double |
getZ() |
int |
hashCode() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isAbsoluteX() |
boolean |
isAbsoluteY() |
boolean |
isAbsoluteZ() |
boolean |
isFontStyleItalic() |
boolean |
isFontWeightBold() |
boolean |
isSetAbsoluteX() |
boolean |
isSetAbsoluteY() |
boolean |
isSetAbsoluteZ() |
boolean |
isSetFontFamily() |
boolean |
isSetFontSize() |
boolean |
isSetFontStyleItalic() |
boolean |
isSetFontWeightBold() |
boolean |
isSetTextAnchor() |
boolean |
isSetVTextAnchor() |
boolean |
isSetX() |
boolean |
isSetY() |
boolean |
isSetZ() |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setAbsoluteX(boolean absoluteX)
Set the value of absoluteX
|
void |
setAbsoluteY(boolean absoluteY)
Set the value of absoluteY
|
void |
setAbsoluteZ(boolean absoluteZ)
Set the value of absoluteZ
|
void |
setFontFamily(FontFamily fontFamily)
Set the value of fontFamily
|
void |
setFontSize(short fontSize)
Set the value of fontSize
|
void |
setFontStyleItalic(boolean fontStyleItalic)
Set the value of fontStyleItalic
|
void |
setFontWeightBold(boolean fontWeightBold)
Set the value of fontWeightBold
|
void |
setTextAnchor(HTextAnchor textAnchor)
Set the value of textAnchor
|
void |
setVTextAnchor(VTextAnchor vTextAnchor)
Set the value of VTextAnchor
|
void |
setX(double x)
Set the value of x
|
void |
setY(double y)
Set the value of y
|
void |
setZ(double z)
Set the value of z
|
boolean |
unsetAbsoluteX()
Unsets the variable absoluteX
|
boolean |
unsetAbsoluteY()
Unsets the variable absoluteY
|
boolean |
unsetAbsoluteZ()
Unsets the variable absoluteZ
|
boolean |
unsetFontFamily()
Unsets the variable fontFamily
|
boolean |
unsetFontSize()
Unsets the variable fontSize
|
boolean |
unsetFontStyleItalic()
Unsets the variable fontStyleItalic
|
boolean |
unsetFontWeightBold()
Unsets the variable fontWeightBold
|
boolean |
unsetTextAnchor()
Unsets the variable textAnchor
|
boolean |
unsetVTextAnchor()
Unsets the variable VTextAnchor
|
boolean |
unsetX()
Unsets the variable x
|
boolean |
unsetY()
Unsets the variable y
|
boolean |
unsetZ()
Unsets the variable z
|
Map<String,String> |
writeXMLAttributes() |
addStrokeDash, getStroke, getStrokeDash, getStrokeDashArray, getStrokeWidth, isSetStroke, isSetStrokeDashArray, isSetStrokeWidth, setStroke, setStrokeDashArray, setStrokeDashArray, setStrokeWidth, unsetStroke, unsetStrokeDashArray, unsetStrokeWidthgetTransform, isSetTransform, setTransform, unsetTransformaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, toString, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isCloningInProgress, isInvalidSBMLAllowed, isLeaf, isReadingInProgress, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitremoveTreeNodeChangeListeneraddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic Text()
public Text(int level,
int version)
public Text(Text obj)
public Text clone()
clone in interface SBaseclone in class GraphicalPrimitive1Dpublic void initDefaults()
initDefaults in class GraphicalPrimitive1Dpublic FontFamily getFontFamily()
getFontFamily in interface FontRenderStylepublic short getFontSize()
getFontSize in interface FontRenderStylepublic HTextAnchor getTextAnchor()
getTextAnchor in interface FontRenderStylepublic VTextAnchor getVTextAnchor()
getVTextAnchor in interface FontRenderStylepublic boolean isAbsoluteX()
isAbsoluteX in interface Point3Dpublic boolean isAbsoluteY()
isAbsoluteY in interface Point3Dpublic boolean isAbsoluteZ()
isAbsoluteZ in interface Point3Dpublic boolean isFontStyleItalic()
isFontStyleItalic in interface FontRenderStylepublic boolean isFontWeightBold()
isFontWeightBold in interface FontRenderStylepublic boolean isSetAbsoluteX()
isSetAbsoluteX in interface Point3Dpublic boolean isSetAbsoluteY()
isSetAbsoluteY in interface Point3Dpublic boolean isSetAbsoluteZ()
isSetAbsoluteZ in interface Point3Dpublic boolean isSetFontFamily()
isSetFontFamily in interface FontRenderStylepublic boolean isSetFontSize()
isSetFontSize in interface FontRenderStylepublic boolean isSetFontStyleItalic()
isSetFontStyleItalic in interface FontRenderStylepublic boolean isSetFontWeightBold()
isSetFontWeightBold in interface FontRenderStylepublic boolean isSetTextAnchor()
isSetTextAnchor in interface FontRenderStylepublic boolean isSetVTextAnchor()
isSetVTextAnchor in interface FontRenderStylepublic void setAbsoluteX(boolean absoluteX)
Point3DsetAbsoluteX in interface Point3Dpublic void setAbsoluteY(boolean absoluteY)
Point3DsetAbsoluteY in interface Point3Dpublic void setAbsoluteZ(boolean absoluteZ)
Point3DsetAbsoluteZ in interface Point3Dpublic void setFontFamily(FontFamily fontFamily)
FontRenderStylesetFontFamily in interface FontRenderStylepublic void setFontSize(short fontSize)
FontRenderStylesetFontSize in interface FontRenderStylepublic void setFontStyleItalic(boolean fontStyleItalic)
FontRenderStylesetFontStyleItalic in interface FontRenderStylepublic void setFontWeightBold(boolean fontWeightBold)
FontRenderStylesetFontWeightBold in interface FontRenderStylepublic void setTextAnchor(HTextAnchor textAnchor)
FontRenderStylesetTextAnchor in interface FontRenderStylepublic void setVTextAnchor(VTextAnchor vTextAnchor)
FontRenderStylesetVTextAnchor in interface FontRenderStylepublic void setX(double x)
Point3Dpublic void setY(double y)
Point3Dpublic void setZ(double z)
Point3Dpublic boolean unsetAbsoluteX()
Point3DunsetAbsoluteX in interface Point3Dtrue, if absoluteX was set before,
otherwise falsepublic boolean unsetAbsoluteY()
Point3DunsetAbsoluteY in interface Point3Dtrue, if absoluteY was set before,
otherwise falsepublic boolean unsetAbsoluteZ()
Point3DunsetAbsoluteZ in interface Point3Dtrue, if absoluteZ was set before,
otherwise falsepublic boolean unsetFontFamily()
FontRenderStyleunsetFontFamily in interface FontRenderStyletrue, if fontFamily was set before,
otherwise falsepublic boolean unsetFontSize()
FontRenderStyleunsetFontSize in interface FontRenderStyletrue, if fontSize was set before,
otherwise falsepublic boolean unsetFontStyleItalic()
FontRenderStyleunsetFontStyleItalic in interface FontRenderStyletrue, if fontStyleItalic was set before,
otherwise falsepublic boolean unsetFontWeightBold()
FontRenderStyleunsetFontWeightBold in interface FontRenderStyletrue, if fontWeightBold was set before,
otherwise falsepublic boolean unsetTextAnchor()
FontRenderStyleunsetTextAnchor in interface FontRenderStyletrue, if textAnchor was set before,
otherwise falsepublic boolean unsetVTextAnchor()
FontRenderStyleunsetVTextAnchor in interface FontRenderStyletrue, if VTextAnchor was set before,
otherwise falsepublic boolean unsetX()
Point3Dpublic boolean unsetY()
Point3Dpublic boolean unsetZ()
Point3Dpublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class GraphicalPrimitive1Dpublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class GraphicalPrimitive1Dpublic int hashCode()
hashCode in interface SBasehashCode in class GraphicalPrimitive1Dpublic boolean equals(Object obj)
equals in interface SBaseequals in class GraphicalPrimitive1DCopyright © 2009–2017. All rights reserved.