| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final JButton | |
| private final JScrollPane | |
| private final JScrollPane | |
| private final JSplitPane | |
| private final Action | |
| private final JPanel | |
| private static final Font | |
| private final JTextArea | |
| private static final long | |
| private static final Class | |
| private final JTextPane | |
| private final Map | |
| private final JLabel |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent
the event to be processed ae)Implements java. |
| private Integer | |
| private Integer | |
| private void | |
| private void | |
| private void | |
| public static void | |
| private void | |
| private void | |
| private void |
| jbutton | back to summary |
|---|---|
| private final JButton jbutton | |
| jScrollPane1 | back to summary |
|---|---|
| private final JScrollPane jScrollPane1 | |
| jScrollPane2 | back to summary |
|---|---|
| private final JScrollPane jScrollPane2 | |
| jSplitPane1 | back to summary |
|---|---|
| private final JSplitPane jSplitPane1 | |
| loadFileAction | back to summary |
|---|---|
| private final Action loadFileAction | |
| mainPanel | back to summary |
|---|---|
| private final JPanel mainPanel | |
| MONOSPACED_FONT | back to summary |
|---|---|
| private static final Font MONOSPACED_FONT | |
| scriptPane | back to summary |
|---|---|
| private final JTextArea scriptPane | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TOKEN_TYPES_CLASS | back to summary |
|---|---|
| private static final Class<GroovyLexer> TOKEN_TYPES_CLASS | |
| tokenPane | back to summary |
|---|---|
| private final JTextPane tokenPane | |
| tokens | back to summary |
|---|---|
| private final Map<Integer, String> tokens | |
| tokenStreamLabel | back to summary |
|---|---|
| private final JLabel tokenStreamLabel | |
| LexerFrame | back to summary |
|---|---|
| public LexerFrame() Constructor used when invoking as a standalone application | |
| LexerFrame | back to summary |
|---|---|
| public LexerFrame(Reader reader) Constructor used when invoking for a specific file | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent ae) Implements java. Doc from java. Invoked when an action occurs.
| |
| eof | back to summary |
|---|---|
| private Integer eof() | |
| getColumn | back to summary |
|---|---|
| private Integer getColumn(Token token) | |
| insertComponent | back to summary |
|---|---|
| private void insertComponent(JComponent comp) | |
| jbInit | back to summary |
|---|---|
| private void jbInit(Reader reader) throws Exception | |
| listTokens | back to summary |
|---|---|
| private void listTokens(Class<T> tokenTypes) throws Exception | |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws Exception | |
| safeScanScript | back to summary |
|---|---|
| private void safeScanScript(File file) | |
| safeScanScript | back to summary |
|---|---|
| private void safeScanScript(Reader reader) | |
| scanScript | back to summary |
|---|---|
| private void scanScript(final StringReader reader) throws Exception | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | getScrollableTracksViewportWidth()
Overrides javax. Implements javax. Scrollable to match the width of the viewport.
|
| public void | setSize(final Dimension
the dimension specifying the new size
of this component d)Overrides java. d.width
and height d.height.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| HScrollableTextPane | back to summary |
|---|---|
| private HScrollableTextPane() | |
| getScrollableTracksViewportWidth | back to summary |
|---|---|
| public boolean getScrollableTracksViewportWidth() Overrides javax. Implements javax. Doc from javax. Returns true if a viewport should always force the width of this
| |
| setSize | back to summary |
|---|---|
| public void setSize(final Dimension d) Overrides java. Doc from java. Resizes this component so that it has width This method changes layout-related information, and therefore, invalidates the component hierarchy. | |