com.l2fprod.gui.plaf.skin.impl.gtk.parser
Class GtkParser
java.lang.Object
com.l2fprod.gui.plaf.skin.impl.gtk.parser.GtkParser
- All Implemented Interfaces:
- GtkParserConstants
public class GtkParser
- extends java.lang.Object
- implements GtkParserConstants
Fields inherited from interface com.l2fprod.gui.plaf.skin.impl.gtk.parser.GtkParserConstants |
ARROW_DIRECTION, ASSIGN, BOOLEAN, BORDER, CLASS, COMMA, DECIMAL_LITERAL, DEFAULT, DETAIL, DIRECTION, ENGINE, EOF, EXTRA, FILE, FONT, FORMAL_COMMENT, FUNCTION, FUNCTION_TYPE, GAP_BORDER, GAP_END_BORDER, GAP_END_FILE, GAP_FILE, GAP_SIDE, GAP_START_BORDER, GAP_START_FILE, IMAGE, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, LBRACK, LCROC, MULTI_LINE_COMMENT, ORIENTATION, ORIENTATION_TYPE, OTHER_TOKEN, OVERLAY_BORDER, OVERLAY_FILE, OVERLAY_STRETCH, PROPERTY_KEY, RBRACK, RCROC, RECOLORABLE, SHADOW, SHADOW_TYPE, SINGLE_LINE_COMMENT, STATE, STATE_TYPE, STRETCH, STRING_LITERAL, STYLE, tokenImage, WIDGET, WIDGET_CLASS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public GtkParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
GtkParser
public GtkParser(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
GtkParser
public GtkParser(java.io.File file)
throws java.lang.Exception
- Throws:
java.lang.Exception
GtkParser
public GtkParser(java.net.URL url)
throws java.lang.Exception
- Throws:
java.lang.Exception
GtkParser
public GtkParser(java.io.InputStream stream)
GtkParser
public GtkParser(java.io.Reader stream)
GtkParser
public GtkParser(GtkParserTokenManager tm)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDirectory
public java.net.URL getDirectory()
setDirectory
public void setDirectory(java.net.URL dir)
- Sets the Directory attribute of the GtkParser object
- Parameters:
dir
- The new Directory value
getStyles
public java.util.Hashtable getStyles()
getClasses
public java.util.Hashtable getClasses()
getStyle
public GtkStyle getStyle(java.lang.String name)
getClass
public GtkClass getClass(java.lang.String name)
buildStructure
public final void buildStructure()
throws ParseException
- Throws:
ParseException
whatever
public final void whatever()
throws ParseException
- Throws:
ParseException
widgetClassDefinition
public final void widgetClassDefinition()
throws ParseException
- Throws:
ParseException
widgetDefinition
public final void widgetDefinition()
throws ParseException
- Throws:
ParseException
styleDefinition
public final void styleDefinition()
throws ParseException
- Throws:
ParseException
imageDefinition
public final void imageDefinition(GtkEngine engine)
throws ParseException
- Throws:
ParseException
borderDefinition
public final GtkBorder borderDefinition()
throws ParseException
- Throws:
ParseException
classDefinition
public final void classDefinition()
throws ParseException
- Throws:
ParseException
readString
public final java.lang.String readString()
throws ParseException
- Throws:
ParseException
readFloat
public final float readFloat()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(GtkParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public final ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()