|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--edu.princeton.toy.choosers.TCheckingChooserPane
TCheckingChooserPane manages the options related to syntax checking.
| Field Summary | |
static String |
UPDATE_COMMAND
The command doesn't do anything at present. |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
TCheckingChooserPane()
Creates a new TCheckingChooserPane. |
|
| Method Summary | |
boolean |
doCommand(String command,
Object extraInfo)
Performs a command based on the argument. |
boolean |
getAutoCheck()
Returns wheter or not the syntax should be checked automatically as the user types. |
boolean |
getIgnoreWarnings()
Returns wheter or not regular warnings should be ignored when the syntax of a program is being checked. |
void |
setAutoCheck(boolean autoCheck)
Sets wheter or not the syntax should be checked automatically as the user types. |
void |
setIgnoreWarnings(boolean ignoreWarnings)
Sets wheter or not regular warnings should be ignored when the syntax of a program is being checked. |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String UPDATE_COMMAND
| Constructor Detail |
public TCheckingChooserPane()
| Method Detail |
public boolean getIgnoreWarnings()
public void setIgnoreWarnings(boolean ignoreWarnings)
ignoreWarnings - True iff regular warnings should be ignored when the syntax of a
program is being checked.public boolean getAutoCheck()
public void setAutoCheck(boolean autoCheck)
autoCheck - True iff the syntax should be checked automatically as the user types.
public boolean doCommand(String command,
Object extraInfo)
command - A string representing the command. Note that pointer equality (not string
equality) is tested here, so it is important to use the string constants defined in this
class. An IllegalArgumentException will be thrown if the argument is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||