org.sbml.jsbml.ext.render
public class Image extends Transformation2D
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Boolean |
absoluteHeight |
private java.lang.Boolean |
absoluteWidth |
private java.lang.Boolean |
absoluteX |
private java.lang.Boolean |
absoluteY |
private java.lang.Boolean |
absoluteZ |
private java.lang.Double |
height |
private java.lang.String |
href |
private static long |
serialVersionUID
Generated serial version identifier
|
private java.lang.Double |
width |
private java.lang.Double |
x |
private java.lang.Double |
y |
private java.lang.Double |
z |
transformignoredExtensions, ignoredXMLElementslistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| Constructor and Description |
|---|
Image()
Creates an Image instance
|
Image(Image obj)
Clone constructor
|
Image(java.lang.String id)
Creates a Image instance with an id.
|
| Modifier and Type | Method and Description |
|---|---|
Image |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
boolean |
equals(java.lang.Object obj)
|
boolean |
getAllowsChildren() |
SBase |
getChildAt(int childIndex) |
int |
getChildCount() |
double |
getHeight() |
java.lang.String |
getHref() |
double |
getWidth() |
double |
getX() |
double |
getY() |
double |
getZ() |
int |
hashCode()
Returns a hash code value for this
SBase instance. |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isAbsoluteHeight() |
boolean |
isAbsoluteWidth() |
boolean |
isAbsoluteX() |
boolean |
isAbsoluteY() |
boolean |
isAbsoluteZ() |
boolean |
isSetAbsoluteHeight() |
boolean |
isSetAbsoluteWidth() |
boolean |
isSetAbsoluteX() |
boolean |
isSetAbsoluteY() |
boolean |
isSetAbsoluteZ() |
boolean |
isSetHeight() |
boolean |
isSetHref() |
boolean |
isSetWidth() |
boolean |
isSetX() |
boolean |
isSetY() |
boolean |
isSetZ() |
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
Sets the given attribute in this
SBase. |
void |
setAbsoluteHeight(java.lang.Boolean absoluteHeight)
Set the value of absoluteHeight
|
void |
setAbsoluteWidth(java.lang.Boolean absoluteWidth)
Set the value of absoluteWidth
|
void |
setAbsoluteX(java.lang.Boolean absoluteX)
Set the value of absoluteX
|
void |
setAbsoluteY(java.lang.Boolean absoluteY)
Set the value of absoluteY
|
void |
setAbsoluteZ(java.lang.Boolean absoluteZ)
Set the value of absoluteZ
|
void |
setHeight(java.lang.Double height)
Set the value of height
|
void |
setHref(java.lang.String href)
Set the value of href
|
void |
setWidth(java.lang.Double width)
Set the value of width
|
void |
setX(java.lang.Double x)
Set the value of x
|
void |
setY(java.lang.Double y)
Set the value of y
|
void |
setZ(java.lang.Double z)
Set the value of z
|
boolean |
unsetAbsoluteHeight()
Unsets the variable absoluteHeight
|
boolean |
unsetAbsoluteWidth()
Unsets the variable absoluteWidth
|
boolean |
unsetAbsoluteX()
Unsets the variable absoluteX
|
boolean |
unsetAbsoluteY()
Unsets the variable absoluteY
|
boolean |
unsetAbsoluteZ()
Unsets the variable absoluteZ
|
boolean |
unsetHeight()
Unsets the variable height
|
boolean |
unsetHref()
Unsets the variable href
|
boolean |
unsetWidth()
Unsets the variable width
|
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()
Returns a map with all the attributes of this
SBase that
need to be written out in XML. |
getTransform, isSetTransform, setTransform, unsetTransformtoStringaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, 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, userObjectKeySetprivate static final long serialVersionUID
private java.lang.Double x
private java.lang.Double y
private java.lang.Double z
private java.lang.Double width
private java.lang.Double height
private java.lang.Boolean absoluteX
private java.lang.Boolean absoluteY
private java.lang.Boolean absoluteZ
private java.lang.Boolean absoluteWidth
private java.lang.Boolean absoluteHeight
private java.lang.String href
public Image()
public Image(java.lang.String id)
id - public Image(Image obj)
public Image clone()
SBaseSBase with the same properties
like this one.clone in interface SBaseclone in class Transformation2Dpublic void initDefaults()
TransformationinitDefaults in class Transformation2Dpublic int hashCode()
SBaseSBase instance.hashCode in interface SBasehashCode in class TransformationSBase instance.Object.hashCode()public boolean equals(java.lang.Object obj)
SBasepublic boolean getAllowsChildren()
getAllowsChildren in interface javax.swing.tree.TreeNodegetAllowsChildren in class AbstractSBasepublic int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodegetChildCount in class AbstractSBasepublic SBase getChildAt(int childIndex)
getChildAt in interface javax.swing.tree.TreeNodegetChildAt in class AbstractSBasepublic boolean isAbsoluteHeight()
public boolean isSetAbsoluteHeight()
public void setAbsoluteHeight(java.lang.Boolean absoluteHeight)
public boolean unsetAbsoluteHeight()
true, if absoluteHeight was set before,
otherwise falsepublic boolean isAbsoluteWidth()
public boolean isSetAbsoluteWidth()
public void setAbsoluteWidth(java.lang.Boolean absoluteWidth)
public boolean unsetAbsoluteWidth()
true, if absoluteWidth was set before,
otherwise falsepublic boolean isAbsoluteX()
public boolean isSetAbsoluteX()
public void setAbsoluteX(java.lang.Boolean absoluteX)
public boolean unsetAbsoluteX()
true, if absoluteX was set before,
otherwise falsepublic boolean isAbsoluteY()
public boolean isSetAbsoluteY()
public void setAbsoluteY(java.lang.Boolean absoluteY)
public boolean unsetAbsoluteY()
true, if absoluteY was set before,
otherwise falsepublic boolean isAbsoluteZ()
public boolean isSetAbsoluteZ()
public void setAbsoluteZ(java.lang.Boolean absoluteZ)
public boolean unsetAbsoluteZ()
true, if absoluteZ was set before,
otherwise falsepublic double getHeight()
public boolean isSetHeight()
public void setHeight(java.lang.Double height)
public boolean unsetHeight()
true, if height was set before,
otherwise falsepublic java.lang.String getHref()
public boolean isSetHref()
public void setHref(java.lang.String href)
public boolean unsetHref()
true, if href was set before,
otherwise falsepublic double getWidth()
public boolean isSetWidth()
public void setWidth(java.lang.Double width)
public boolean unsetWidth()
true, if width was set before,
otherwise falsepublic double getX()
public boolean isSetX()
public void setX(java.lang.Double x)
public boolean unsetX()
true, if x was set before,
otherwise falsepublic double getY()
public boolean isSetY()
public void setY(java.lang.Double y)
public boolean unsetY()
true, if y was set before,
otherwise falsepublic double getZ()
public boolean isSetZ()
public void setZ(java.lang.Double z)
public boolean unsetZ()
true, if z was set before,
otherwise falsepublic java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
SBaseSBase that
need to be written out in XML.
The attribute name is used as a key and the attribute value as value. If a prefix is needed for the attribute name, it need to be set directly in this map.
writeXMLAttributes in interface SBasewriteXMLAttributes in class TransformationMap containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
SBaseSBase.
If the given attribute name is not recognized, nothing is done and
false is returned.
readAttribute in interface SBasereadAttribute in class TransformationattributeName - localName of the XML attributeprefix - prefix of the XML attributevalue - value of the XML attributetrue if the attribute has been successfully read.