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 |
transform
ignoredExtensions, ignoredXMLElements
listOfListeners, 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 |
getAllowsChildren() |
SBase |
getChildAt(int childIndex) |
int |
getChildCount() |
double |
getHeight() |
java.lang.String |
getHref() |
double |
getWidth() |
double |
getX() |
double |
getY() |
double |
getZ() |
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)
If the attribute is an id or name attribute, it will set the id or name
of this object with the value of the XML attribute ('value').
|
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() |
getTransform, isSetTransform, setTransform, unsetTransform
toString
addCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, equals, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hashCode, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, firePropertyChange, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
removeTreeNodeChangeListener
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
private 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()
SBase
SBase
with the same properties
like this one.clone
in interface SBase
clone
in class Transformation2D
public void initDefaults()
Transformation
initDefaults
in class Transformation2D
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class Transformation
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class Transformation
public SBase getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
getChildAt
in class Transformation
public boolean isAbsoluteHeight()
public boolean isSetAbsoluteHeight()
public void setAbsoluteHeight(java.lang.Boolean absoluteHeight)
public boolean unsetAbsoluteHeight()
true
, if absoluteHeight was set before,
otherwise false
public boolean isAbsoluteWidth()
public boolean isSetAbsoluteWidth()
public void setAbsoluteWidth(java.lang.Boolean absoluteWidth)
public boolean unsetAbsoluteWidth()
true
, if absoluteWidth was set before,
otherwise false
public boolean isAbsoluteX()
public boolean isSetAbsoluteX()
public void setAbsoluteX(java.lang.Boolean absoluteX)
public boolean unsetAbsoluteX()
true
, if absoluteX was set before,
otherwise false
public boolean isAbsoluteY()
public boolean isSetAbsoluteY()
public void setAbsoluteY(java.lang.Boolean absoluteY)
public boolean unsetAbsoluteY()
true
, if absoluteY was set before,
otherwise false
public boolean isAbsoluteZ()
public boolean isSetAbsoluteZ()
public void setAbsoluteZ(java.lang.Boolean absoluteZ)
public boolean unsetAbsoluteZ()
true
, if absoluteZ was set before,
otherwise false
public double getHeight()
public boolean isSetHeight()
public void setHeight(java.lang.Double height)
public boolean unsetHeight()
true
, if height was set before,
otherwise false
public java.lang.String getHref()
public boolean isSetHref()
public void setHref(java.lang.String href)
public boolean unsetHref()
true
, if href was set before,
otherwise false
public double getWidth()
public boolean isSetWidth()
public void setWidth(java.lang.Double width)
public boolean unsetWidth()
true
, if width was set before,
otherwise false
public double getX()
public boolean isSetX()
public void setX(java.lang.Double x)
public boolean unsetX()
true
, if x was set before,
otherwise false
public double getY()
public boolean isSetY()
public void setY(java.lang.Double y)
public boolean unsetY()
true
, if y was set before,
otherwise false
public double getZ()
public boolean isSetZ()
public void setZ(java.lang.Double z)
public boolean unsetZ()
true
, if z was set before,
otherwise false
public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
writeXMLAttributes
in interface SBase
writeXMLAttributes
in class Transformation
Map
containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBase
readAttribute
in interface SBase
readAttribute
in class Transformation
attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.