|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Macro
This class stores the objects in a macro that's been added to the circuit diagram, for structure handling
Constructor Summary | |
(package private) |
Macro()
Null constructor, creates a macro with nothing in it. |
(package private) |
Macro(java.lang.String name_)
Creates a macro with a given name |
Method Summary | |
void |
addObject(java.lang.Object target)
Use this method to add an object to this macro |
boolean |
contains(java.lang.Object target)
Checks to see if an object passed in is already in the macro |
java.util.Enumeration |
elements()
This method is used to enumerate the objects in the macro |
int |
getBottom()
Gets the bottom variable |
int |
getLeftSide()
Gets the leftSide variable |
java.lang.String |
getName()
Gets the name of the macro |
int |
getRightSide()
Gets the rightSide variable |
int |
getTop()
Gets the top variable |
java.io.InputStream |
getXML()
Gets the inputstream |
void |
setBottom(int bottom_)
Sets the bottom variable |
void |
setLeftSide(int leftSide_)
Sets the leftSide variable |
void |
setName(java.lang.String name_)
Sets the macro name |
void |
setRightSide(int rightSide_)
Sets the rightSide variable |
void |
setTop(int top_)
Sets the top variable |
void |
setXML(java.io.InputStream xml_)
Sets the macro outputstream |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
Macro()
Macro(java.lang.String name_)
Method Detail |
public java.util.Enumeration elements()
public boolean contains(java.lang.Object target)
target
- the object that might be in the macropublic void addObject(java.lang.Object target)
target
- the object to addpublic void setLeftSide(int leftSide_)
leftSide_
- the int to be setpublic void setRightSide(int rightSide_)
rightSide_
- the int to be setpublic void setTop(int top_)
top_
- the int to be setpublic void setBottom(int bottom_)
bottom_
- the int to be setpublic void setName(java.lang.String name_)
name_
- name to be setpublic void setXML(java.io.InputStream xml_)
xml_
- a string of xml.public int getLeftSide()
public int getRightSide()
public int getTop()
public int getBottom()
public java.lang.String getName()
public java.io.InputStream getXML()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |