FontRenderStyle, Point3Dpublic class Text extends GraphicalPrimitive1D implements FontRenderStyle, Point3D
ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamestroke, strokeDashArray, strokeWidthtransform| Constructor | Description |
|---|---|
Text() |
|
Text(int level,
int version) |
|
Text(Text obj) |
| Modifier and Type | Method | Description |
|---|---|---|
Text |
clone() |
|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getFontFamily() |
|
RelAbsVector |
getFontSize() |
|
java.lang.String |
getText() |
|
HTextAnchor |
getTextAnchor() |
|
VTextAnchor |
getVTextAnchor() |
|
RelAbsVector |
getX() |
|
RelAbsVector |
getY() |
|
RelAbsVector |
getZ() |
|
int |
hashCode() |
|
void |
initDefaults() |
Initializes the default values using the namespace.
|
boolean |
isFontStyleItalic() |
|
boolean |
isFontWeightBold() |
|
boolean |
isSetFontFamily() |
|
boolean |
isSetFontSize() |
|
boolean |
isSetFontStyleItalic() |
|
boolean |
isSetFontWeightBold() |
|
boolean |
isSetText() |
Checks whether the text-field has been set.
|
boolean |
isSetTextAnchor() |
|
boolean |
isSetVTextAnchor() |
|
boolean |
isSetX() |
|
boolean |
isSetY() |
|
boolean |
isSetZ() |
|
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value) |
|
void |
setFontFamily(java.lang.String fontFamily) |
Set the value of fontFamily
|
void |
setFontFamily(FontFamily fontFamily) |
Set the value of fontFamily by using a
FontFamily type. |
void |
setFontSize(RelAbsVector 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 |
setText(java.lang.String text) |
Set the value of the
text field (and fire appropriate property-change event) |
void |
setTextAnchor(HTextAnchor textAnchor) |
Set the value of textAnchor
|
void |
setVTextAnchor(VTextAnchor vTextAnchor) |
Set the value of VTextAnchor
|
void |
setX(RelAbsVector x) |
Set the value of x
|
void |
setY(RelAbsVector y) |
Set the value of y
|
void |
setZ(RelAbsVector z) |
Set the value of z
|
java.lang.String |
toString() |
|
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 |
unsetText() |
Unsets the
text and fires appropriate change event |
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
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, addResources, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkIdentifier, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllDeclaredNamespaces, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getFirstElementIndex, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasExtension, 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, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, 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, userObjectKeySetaddStrokeDash, getStroke, getStrokeDash, getStrokeDashArray, getStrokeWidth, isSetStroke, isSetStrokeDashArray, isSetStrokeWidth, setStroke, setStrokeDashArray, setStrokeDashArray, setStrokeWidth, unsetStroke, unsetStrokeDashArray, unsetStrokeWidthfinalize, getClass, notify, notifyAll, wait, wait, waitisSetTransform, setTransformgetTransform, unsetTransformaddAllChangeListeners, 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 class GraphicalPrimitive1Dpublic void initDefaults()
initDefaults in class GraphicalPrimitive1Dpublic java.lang.String getFontFamily()
getFontFamily in interface FontRenderStylepublic RelAbsVector getFontSize()
getFontSize in interface FontRenderStylepublic java.lang.String getText()
public HTextAnchor getTextAnchor()
getTextAnchor in interface FontRenderStylepublic VTextAnchor getVTextAnchor()
getVTextAnchor in interface FontRenderStylepublic RelAbsVector getX()
public RelAbsVector getY()
public RelAbsVector getZ()
public boolean isFontStyleItalic()
isFontStyleItalic in interface FontRenderStylepublic boolean isFontWeightBold()
isFontWeightBold in interface FontRenderStylepublic 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 isSetText()
texttext-field has been setpublic boolean isSetTextAnchor()
isSetTextAnchor in interface FontRenderStylepublic boolean isSetVTextAnchor()
isSetVTextAnchor in interface FontRenderStylepublic void setFontFamily(java.lang.String fontFamily)
FontRenderStylesetFontFamily in interface FontRenderStylepublic void setFontFamily(FontFamily fontFamily)
FontRenderStyleFontFamily type.setFontFamily in interface FontRenderStylepublic void setFontSize(RelAbsVector fontSize)
FontRenderStylesetFontSize in interface FontRenderStylepublic void setFontStyleItalic(boolean fontStyleItalic)
FontRenderStylesetFontStyleItalic in interface FontRenderStylepublic void setFontWeightBold(boolean fontWeightBold)
FontRenderStylesetFontWeightBold in interface FontRenderStylepublic void setText(java.lang.String text)
text field (and fire appropriate property-change event)text - the new textpublic void setTextAnchor(HTextAnchor textAnchor)
FontRenderStylesetTextAnchor in interface FontRenderStylepublic void setVTextAnchor(VTextAnchor vTextAnchor)
FontRenderStylesetVTextAnchor in interface FontRenderStylepublic void setX(RelAbsVector x)
Point3Dpublic void setY(RelAbsVector y)
Point3Dpublic void setZ(RelAbsVector z)
Point3Dpublic 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 unsetText()
text and fires appropriate change eventpublic 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 java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
writeXMLAttributes in class GraphicalPrimitive1Dpublic boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
readAttribute in class GraphicalPrimitive1Dpublic int hashCode()
hashCode in class GraphicalPrimitive1Dpublic boolean equals(java.lang.Object obj)
equals in class GraphicalPrimitive1Dpublic java.lang.String toString()
toString in class org.sbml.jsbml.AbstractSBaseCopyright © 2009–2022. All rights reserved.