| java.lang.Object com.sun.j3d.loaders.lw3d.TextfileParser com.sun.j3d.loaders.lw3d.EnvelopeHandler
EnvelopeHandler | class EnvelopeHandler extends TextfileParser (Code) | | This class is used in implementing Envelope objects (of which there
is currently only one - LightIntensity).
The class is called whenever the parser has encountered
a token which could have an envelope description. If the
token simply has a numeric value, this value is stored.
If, instead, there is an envelope, then the class creates
the envelope class and parses that information.
|
Constructor Summary | |
| EnvelopeHandler(StreamTokenizer st, int totalFrames, float totalTime) Constructor: This constructor is used if there is no existing
implementation for this type of envelope. | | EnvelopeHandler(StreamTokenizer st, int totalFrames, float totalTime, String envClassName) Constructor: This constructor is called with the name of a class
that can handle the encountered envelope. |
hasEnvelope | boolean hasEnvelope(Code) | | |
hasValue | boolean hasValue(Code) | | |
EnvelopeHandler | EnvelopeHandler(StreamTokenizer st, int totalFrames, float totalTime)(Code) | | Constructor: This constructor is used if there is no existing
implementation for this type of envelope. The real constructor
is called with the generic LwsEnvelope class name, which will
allow s to parse and ignore the envelope data
|
EnvelopeHandler | EnvelopeHandler(StreamTokenizer st, int totalFrames, float totalTime, String envClassName) throws ParsingErrorException(Code) | | Constructor: This constructor is called with the name of a class
that can handle the encountered envelope. This is done so that this
EnvelopeHandler class can generically call the given class to handle
the envelope, whether it results in parsing/ignoring the data or
in actually using the data
|
Methods inherited from com.sun.j3d.loaders.lw3d.TextfileParser | void checkString(StreamTokenizer st, String theString) throws ParsingErrorException(Code)(Java Doc) void checkType(StreamTokenizer st, int theType) throws ParsingErrorException(Code)(Java Doc) protected void debugOutput(int outputType, String theOutput)(Code)(Java Doc) protected void debugOutputLn(int outputType, String theOutput)(Code)(Java Doc) void getAndCheckString(StreamTokenizer st, String expectedValue) throws ParsingErrorException(Code)(Java Doc) String getName(StreamTokenizer st) throws ParsingErrorException(Code)(Java Doc) double getNumber(StreamTokenizer st) throws ParsingErrorException, NumberFormatException(Code)(Java Doc) String getString(StreamTokenizer st) throws ParsingErrorException(Code)(Java Doc) boolean isCurrentToken(StreamTokenizer st, String tokenString)(Code)(Java Doc) void skip(StreamTokenizer st, String tokenString, int skipVals) throws ParsingErrorException(Code)(Java Doc) void skipUntilString(StreamTokenizer st, String theString) throws ParsingErrorException(Code)(Java Doc)
|
|
|