Deprecated
| 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 Class | |
| private final Action | |
| private final JPanel | |
| private final JTextArea | |
| private static final long | |
| private final JTextPane | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | LexerFrame(Class<T>
the lexer class to use lexerClass, Class<T> the lexer token types class tokenTypesClass)Constructor used when invoking as a standalone application |
| public | LexerFrame(Class<T>
the lexer class to use lexerClass, Class<T> the lexer token types class tokenTypesClass, Reader reader)Constructor used when invoking for a specific file |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent
the event to be processed ae)Implements java. |
| private Integer | |
| private Integer | |
| public static LexerFrame | Returns: the new frame rending the parsed tokensthe Groovy source file to parse/render scriptText)
Deprecated
as a consequence of
Creates a Groovy language LexerFrame for the given script text
LexerFrame being deprecated.
|
| private void | |
| private Object | |
| private boolean | |
| 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 | |
| lexerClass | back to summary |
|---|---|
| private final Class<T> lexerClass | |
| loadFileAction | back to summary |
|---|---|
| private final Action loadFileAction | |
| mainPanel | back to summary |
|---|---|
| private final JPanel mainPanel | |
| scriptPane | back to summary |
|---|---|
| private final JTextArea scriptPane | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| tokenPane | back to summary |
|---|---|
| private final JTextPane tokenPane | |
| tokens | back to summary |
|---|---|
| private final Map<Integer, String> tokens | |
| LexerFrame | back to summary |
|---|---|
| public LexerFrame(Class<T> lexerClass, Class<T> tokenTypesClass) Constructor used when invoking as a standalone application | |
| LexerFrame | back to summary |
|---|---|
| public LexerFrame(Class<T> lexerClass, Class<T> tokenTypesClass, 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(Object token) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException | |
| groovyScriptFactory | back to summary |
|---|---|
| public static LexerFrame groovyScriptFactory(String scriptText)
Deprecated as a consequence of Creates a Groovy language LexerFrame for the given script text
| |
| insertComponent | back to summary |
|---|---|
| private void insertComponent(JComponent comp) | |
| invokeMethod | back to summary |
|---|---|
| private Object invokeMethod(Object obj, String methodName) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException | |
| isParrotLexer | back to summary |
|---|---|
| private boolean isParrotLexer() | |
| 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. | |