Package: org.codehaus.groovy.antlr

## [Java] Class LexerFrame

- org.codehaus.groovy.antlr.LexerFrame

- All Implemented Interfaces and Traits:
    ActionListener

      @Deprecated
      public class LexerFrame
      extends JFrame
      implements ActionListener

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

  deprecated:
    LexerFrame instead

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class JFrame` | `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
    --- | --- | ---
    `` | `public void` | `actionPerformed(ActionEvent ae)`
    `` | `public void` | `actionPerformed(ActionEvent ae)`
    `` | `public static LexerFrame` | `groovyScriptFactory(String scriptText)` Creates a Groovy language LexerFrame for the given script text
    `` | `public static void` | `main(String[] args)`
    `` | `public void` | `mouseReleased(MouseEvent e)`

  - ### Inherited Methods Summary

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

    - #### public void mouseReleased(MouseEvent e)