com.l2fprod.gui.plaf.skin.impl.gtk.parser
Class GtkParser

java.lang.Object
  extended by com.l2fprod.gui.plaf.skin.impl.gtk.parser.GtkParser
All Implemented Interfaces:
GtkParserConstants

public class GtkParser
extends java.lang.Object
implements GtkParserConstants


Field Summary
 Token jj_nt
           
 Token token
           
 GtkParserTokenManager token_source
           
 
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
 
Constructor Summary
GtkParser(java.io.File file)
           
GtkParser(GtkParserTokenManager tm)
           
GtkParser(java.io.InputStream stream)
           
GtkParser(java.io.Reader stream)
           
GtkParser(java.lang.String filename)
           
GtkParser(java.net.URL url)
           
 
Method Summary
 GtkBorder borderDefinition()
           
 void buildStructure()
           
 void classDefinition()
           
 void disable_tracing()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 GtkClass getClass(java.lang.String name)
           
 java.util.Hashtable getClasses()
           
 java.net.URL getDirectory()
           
 Token getNextToken()
           
 GtkStyle getStyle(java.lang.String name)
           
 java.util.Hashtable getStyles()
           
 Token getToken(int index)
           
 void imageDefinition(GtkEngine engine)
           
static void main(java.lang.String[] args)
           
 float readFloat()
           
 java.lang.String readString()
           
 void ReInit(GtkParserTokenManager tm)
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 void setDirectory(java.net.URL dir)
          Sets the Directory attribute of the GtkParser object
 void styleDefinition()
           
 void whatever()
           
 void widgetClassDefinition()
           
 void widgetDefinition()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public GtkParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt
Constructor Detail

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)
Method Detail

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()