|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectexe.RefBox
public class RefBox
A RefBox represents a single box within a RefStruct. It contains the RefBox's label, color, and either the data it contains or the RefStruct it references.
| Constructor Summary | |
|---|---|
RefBox(java.lang.String l)
Create an empty, black RefBox with the given label. |
|
RefBox(java.lang.String l,
GAIGSRefStruct s)
Create a black RefBox with the given label and an arrow pointing to the given RefStruct. |
|
RefBox(java.lang.String l,
java.lang.Object d)
Create a black RefBox with the given label and containing the given data. |
|
RefBox(java.lang.String l,
java.lang.String c)
Create an empty RefBox of the given color witht the given label. |
|
RefBox(java.lang.String l,
java.lang.String c,
GAIGSRefStruct s)
Create a RefBox of the given color with the given label above it with an arrow pointing to the given RefStruct. |
|
RefBox(java.lang.String l,
java.lang.String c,
java.lang.Object d)
Create a RefBox of the given color with the given label above it containing the given data. |
|
| Method Summary | |
|---|---|
java.lang.String |
getColor()
Returns the RefBox's color |
java.lang.Object |
getData()
Returns the RefBox's data |
java.lang.String |
getLabel()
Returns the RefBox's label |
GAIGSRefStruct |
getReference()
Returns the RefStruct that is referenced by the RefBox |
boolean |
hasData()
Returns true iff the RefBox contains data |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefBox(java.lang.String l)
l - The label that you want to have above the RefBox.
public RefBox(java.lang.String l,
java.lang.String c)
l - The label that you want to have above the RefBox.c - The color that you want the RefBox to be.
public RefBox(java.lang.String l,
java.lang.Object d)
l - The label that you want to have above the RefBox.d - The data that you want inside of the RefBox.
public RefBox(java.lang.String l,
GAIGSRefStruct s)
l - The label that you want to have above the RefBox.s - The RefStruct that this RefBox references.
public RefBox(java.lang.String l,
java.lang.String c,
java.lang.Object d)
l - The label that you want to have above the RefBox.c - The color that you want the RefBox to be.d - The data the you want inside of the RefBox.
public RefBox(java.lang.String l,
java.lang.String c,
GAIGSRefStruct s)
l - The label that you want to have above the RefBox.c - The color that you want the RefBox to be.s - The data that you want inside of the RefBox.| Method Detail |
|---|
public java.lang.String getLabel()
public java.lang.String getColor()
public java.lang.Object getData()
public GAIGSRefStruct getReference()
public boolean hasData()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||