|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hdcookbook.grin.io.ShowBuilder com.hdcookbook.grin.test.bigjdk.GuiShowBuilder
public class GuiShowBuilder
This is a ShowBuilder that tracks line number for GrinView
GrinView
Field Summary |
---|
Fields inherited from class com.hdcookbook.grin.io.ShowBuilder |
---|
show |
Constructor Summary | |
---|---|
GuiShowBuilder(GrinView gui)
|
Method Summary | |
---|---|
void |
addCommand(Command command,
int line)
Called when a new command is encountered. |
void |
addFeature(java.lang.String name,
int line,
Feature f)
Called when a new feature is encountered. |
void |
addRCHandler(java.lang.String name,
int line,
RCHandler hand)
Called when a new remote control handler is encountered. |
void |
addSegment(java.lang.String name,
int line,
Segment s)
Called when a new segment is encountered. |
void |
finishBuilding()
Called when the show has finished parsing and all forward references have been resolved. |
Methods inherited from class com.hdcookbook.grin.io.ShowBuilder |
---|
addDeferredBuilder, addNamedCommand, addSyntheticFeature, getExtensionParser, getFontIndex, getNamedCommand, getNamedFeature, getNamedRCHandler, getNamedSegment, getShow, init, injectParent, makeInterpolatedModel, makeScalingModel, makeTimer, makeTranslatorModel, setBinaryGrinFileName, setExported, setExtensionParser, setShowTop, setShowTopGroup, setStickyImages |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GuiShowBuilder(GrinView gui)
Method Detail |
---|
public void addFeature(java.lang.String name, int line, Feature f) throws java.io.IOException
ShowBuilder
addFeature
in class ShowBuilder
java.io.IOException
public void addSegment(java.lang.String name, int line, Segment s) throws java.io.IOException
ShowBuilder
addSegment
in class ShowBuilder
java.io.IOException
public void addCommand(Command command, int line) throws java.io.IOException
ShowBuilder
addCommand
in class ShowBuilder
java.io.IOException
public void addRCHandler(java.lang.String name, int line, RCHandler hand) throws java.io.IOException
ShowBuilder
addRCHandler
in class ShowBuilder
java.io.IOException
public void finishBuilding() throws java.io.IOException
ShowBuilder
finishBuilding
in class ShowBuilder
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |