|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgcspy.interpreter.Space
gcspy.interpreter.client.ClientSpace
public class ClientSpace
Represents a client-side space
Field Summary |
---|
Fields inherited from class gcspy.interpreter.Space |
---|
blockInfo, control, CONTROL_BACKGROUND, CONTROL_LINK, CONTROL_SEPARATOR, CONTROL_UNUSED, CONTROL_USED, DEFAULT_UNUSED_STRING, driverName, id, mainSpace, name, spaceInfo, streamNum, streams, tileNames, tileNum, title, unusedString |
Constructor Summary | |
---|---|
ClientSpace()
Create s new client space |
Method Summary | |
---|---|
void |
calcMaxima()
Calculate the maximum value in each stream that uses a PRESENTATION_MAX_VAR presentation style |
void |
deserialise(BufferedInput input)
Deserialise this space |
java.lang.String |
presentSummary(java.lang.String prefix1,
java.lang.String prefix2)
Represent a summary of the space as a string |
java.lang.String |
presentTile(int index)
Represent a tile as a string |
Methods inherited from class gcspy.interpreter.Space |
---|
dump, getBlockInfo, getControl, getFullName, getID, getName, getSpaceInfo, getStream, getStreamNum, getTileName, getTileNum, getTitle, getUnusedString, initControl, isControlBackground, isControlLink, isControlSeparator, isControlUnused, isControlUsed, isMainSpace, serialise, setControl, setID, setSpaceInfo, setupControl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientSpace()
Method Detail |
---|
public void calcMaxima()
PRESENTATION_MAX_VAR
presentation style
public java.lang.String presentTile(int index)
index
- the tile index
public java.lang.String presentSummary(java.lang.String prefix1, java.lang.String prefix2)
prefix1
- A string to prefix the summaryprefix2
- A string to prefix the summary if the style is PRESENTATION_ENUM
public void deserialise(BufferedInput input)
deserialise
in class Space
input
- The BufferedInput to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |