Package: org.codehaus.groovy.antlr

## [Java] Class LexerFrame

- org.codehaus.groovy.antlr.LexerFrame

- All Implemented Interfaces and Traits:
    ActionListener

      public class LexerFrame
      extends JFrame

  Swing application to graphically display the tokens produced by the lexer.

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class JFrame` | `EXIT_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, DISPOSE_ON_CLOSE, EXIT_ON_CLOSE, DEFAULT_CURSOR, CROSSHAIR_CURSOR, TEXT_CURSOR, WAIT_CURSOR, SW_RESIZE_CURSOR, SE_RESIZE_CURSOR, NW_RESIZE_CURSOR, NE_RESIZE_CURSOR, N_RESIZE_CURSOR, S_RESIZE_CURSOR, W_RESIZE_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, MOVE_CURSOR, NORMAL, ICONIFIED, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MAXIMIZED_BOTH, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `LexerFrame (Class lexerClass, Class tokenTypesClass)` Constructor used when invoking as a standalone application
    `LexerFrame (Class lexerClass, Class tokenTypesClass, Reader reader)` Constructor used when invoking for a specific file

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `void` | `actionPerformed(ActionEvent ae)`
    `` | `static LexerFrame` | `groovyScriptFactory(String scriptText)` Creates a Groovy language LexerFrame for the given script text
    `` | `static void` | `main(String[] args)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class JFrame` | `remove, update, getDefaultCloseOperation, isDefaultLookAndFeelDecorated, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, getAccessibleContext, setLayout, getGraphics, repaint, getRootPane, getTransferHandler, setTransferHandler, setIconImage, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, remove, getState, setState, isResizable, setResizable, setTitle, getTitle, setUndecorated, isUndecorated, addNotify, removeNotify, setBackground, setCursor, setOpacity, setShape, getMenuBar, setMenuBar, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, setExtendedState, setMaximizedBounds, getLocale, getType, isOpaque, setSize, setSize, getOwner, pack, addPropertyChangeListener, addPropertyChangeListener, dispose, setType, isActive, setLocation, setLocation, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getListeners, getMostRecentFocusOwner, isFocusCycleRoot, isShowing, isValidateRoot, paint, postEvent, setBounds, setBounds, setFocusCycleRoot, setVisible, createBufferStrategy, createBufferStrategy, getBackground, getBufferStrategy, getInputContext, getToolkit, hide, isFocusableWindow, reshape, setCursor, setMinimumSize, show, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, getFocusableWindowState, getIconImages, getModalExclusionType, getOpacity, getOwnedWindows, getOwnerlessWindows, getShape, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, getWindows, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocused, isLocationByPlatform, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setAutoRequestFocus, setFocusableWindowState, setIconImages, setLocationByPlatform, setLocationRelativeTo, setModalExclusionType, toBack, toFront, add, add, add, add, add, remove, list, list, print, removeAll, locate, invalidate, layout, validate, getComponent, getLayout, getComponents, getComponentAt, getComponentAt, getComponentCount, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, minimumSize, paintComponents, preferredSize, printComponents, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, setLocale, add, toString, getName, contains, contains, size, getLocation, getLocation, getParent, setName, list, list, list, getSize, getSize, location, resize, resize, disable, enable, enable, isValid, bounds, getBounds, getBounds, isEnabled, action, setEnabled, removePropertyChangeListener, removePropertyChangeListener, move, revalidate, dispatchEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getFont, getGraphicsConfiguration, getHeight, getMousePosition, getPeer, getTreeLock, getWidth, getX, getY, handleEvent, isDisplayable, isFocusOwner, isFocusable, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, transferFocus, transferFocusBackward, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, checkImage, checkImage, createImage, createImage, createVolatileImage, createVolatileImage, enableInputMethods, getBaseline, getBaselineResizeBehavior, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFontMetrics, getForeground, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getPropertyChangeListeners, getPropertyChangeListeners, gotFocus, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDoubleBuffered, isFocusTraversable, isFontSet, isForegroundSet, keyDown, keyUp, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, nextFocus, paintAll, prepareImage, prepareImage, printAll, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, requestFocusInWindow, setComponentOrientation, setDropTarget, setFocusTraversalKeysEnabled, setFocusable, setForeground, setIgnoreRepaint, setMaximumSize, setPreferredSize, show, transferFocusUpCycle, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### public LexerFrame(Class lexerClass, Class tokenTypesClass)

      Constructor used when invoking as a standalone application

      Parameters:
        `lexerClass` - the lexer class to use
        `tokenTypesClass` - the lexer token types class

    - #### public LexerFrame(Class lexerClass, Class tokenTypesClass, Reader reader)

      Constructor used when invoking for a specific file

      Parameters:
        `lexerClass` - the lexer class to use
        `tokenTypesClass` - the lexer token types class

  - ### Method Detail

    - #### public void actionPerformed(ActionEvent ae)

    - #### public static LexerFrame groovyScriptFactory(String scriptText)

      Creates a Groovy language LexerFrame for the given script text

      Parameters:
        `scriptText` - the Groovy source file to parse/render
      Returns:
        the new frame rending the parsed tokens

    - #### public static void main(String[] args)