|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opale.tools.OpaleObject | +--opale.m2d.Object2D
This abstract class is the root of the class hierarchy that represents an object 2D.
Constructor Summary | |
Object2D()
Construct and initialize with the absolute OIJ. |
|
Object2D(OIJ rep)
Construct and initialize with an specified OIJ. |
Method Summary | |
abstract void |
changeOIJ(OIJ rep)
Compute the changement of OIJ for this object. |
java.lang.Object |
clone()
Create a new object of the same class and with the same contents as this vector. |
OIJ |
getOIJ()
Return the instance OIJ of this object. |
void |
read(java.io.StreamTokenizer f,
OpaleSet pack)
Read in a stream the construction of this object calling the method readKeyWord(). |
void |
setOIJ(OIJ rep)
Set the OIJ basis of this object. |
abstract java.lang.String |
toString()
Return a string representation of this object. |
void |
write(java.io.PrintWriter f,
OpaleSet pack)
Write informations about this object in a stream. |
abstract void |
writeMore(java.io.PrintWriter f,
OpaleSet pack)
Write complementary information in a stream. |
double |
xmax()
Return the maximum of the X coordinate. |
Methods inherited from class opale.tools.OpaleObject |
getId, readKeyWord, setId |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Object2D()
public Object2D(OIJ rep)
OIJ
- rep, an instance of OIJ
.Method Detail |
public void setOIJ(OIJ rep)
OIJ
- rep, the new OIJ.public OIJ getOIJ()
OIJ
of this object.public java.lang.Object clone()
clone
in class OpaleObject
OutOfMemoryError
- if there is not enough memory.Cloneable
public abstract void changeOIJ(OIJ rep)
OIJ
- rep, the new OIJ.public abstract java.lang.String toString()
toString
in class java.lang.Object
public void write(java.io.PrintWriter f, OpaleSet pack) throws InvalidFormatException
write
in class OpaleObject
WFile
- f, the file in writing.public abstract void writeMore(java.io.PrintWriter f, OpaleSet pack) throws InvalidFormatException
WFile
- f, the file in writing .public void read(java.io.StreamTokenizer f, OpaleSet pack) throws java.io.IOException, InvalidFormatException
readKeyWord().
read
in class OpaleObject
RFile
- f, the file to read.public double xmax()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |