|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.Common.Extendable
org.biomage.DesignElement.Position
public class Position
Specifies a position on an array.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biomage.Interface.HasPropertySets |
---|
HasPropertySets.PropertySets_list |
Field Summary | |
---|---|
protected DistanceUnit |
distanceUnit
The units of the x, y positions. |
Fields inherited from class org.biomage.Common.Extendable |
---|
editable, id, securedElementId |
Constructor Summary | |
---|---|
Position()
Default constructor. |
|
Position(org.xml.sax.Attributes atts)
Attribute constructor. |
Method Summary | |
---|---|
boolean |
emptyMAGEobject()
|
DistanceUnit |
getDistanceUnit()
Get method for distanceUnit |
java.lang.String |
getModelClassName()
|
java.lang.Float |
getX()
Get method for x |
java.lang.Float |
getY()
Get method for y |
void |
setDistanceUnit(DistanceUnit distanceUnit)
Set method for distanceUnit |
void |
setX(java.lang.Float x)
Set method for x |
void |
setY(java.lang.Float y)
Set method for y |
void |
writeAssociations(java.io.Writer out)
writeAssociations This method is responsible for assembling the association data into XML. |
void |
writeAttributes(java.io.Writer out)
writeAttributes This method is responsible for assembling the attribute data into XML. |
void |
writeMAGEML(java.io.Writer out)
writeMAGEML This method is responsible for assembling the attribute and association data into XML. |
Methods inherited from class org.biomage.Common.Extendable |
---|
addToPropertySets, addToPropertySets, equals, getFromPropertySets, getId, getIsEditable, getPropertySets, getSecuredElementId, isEditable, removeElementAtFromPropertySets, removeFromPropertySets, setAttributes, setId, setIsEditable, setPropertySets, setSecuredElementId, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected DistanceUnit distanceUnit
Constructor Detail |
---|
public Position()
public Position(org.xml.sax.Attributes atts)
atts:
- the attribute list.Method Detail |
---|
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
writeMAGEML
in class Extendable
java.io.IOException
public boolean emptyMAGEobject()
public void writeAttributes(java.io.Writer out) throws java.io.IOException
writeAttributes
in class Extendable
java.io.IOException
public void writeAssociations(java.io.Writer out) throws java.io.IOException
writeAssociations
in class Extendable
java.io.IOException
public void setX(java.lang.Float x)
value
- to setpublic java.lang.Float getX()
public void setY(java.lang.Float y)
value
- to setpublic java.lang.Float getY()
public java.lang.String getModelClassName()
getModelClassName
in class Extendable
public void setDistanceUnit(DistanceUnit distanceUnit)
setDistanceUnit
in interface HasDistanceUnit
value
- to setpublic DistanceUnit getDistanceUnit()
getDistanceUnit
in interface HasDistanceUnit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |