A B C D E F G H I J K L M N O P R S T U V W

A

a - Variable in class kawigi.widget.ActionLabel
The Action that this label is configured against.
a - Variable in class kawigi.widget.ActionTextField
The Action that this text field is configured against.
a - Variable in class kawigi.widget.ColorSwatchDropdown
Action that this dropdown is bound to.
a - Variable in class kawigi.widget.FontPanel
Action that this FontPanel is bound to.
AbstractPrefs - Class in kawigi.properties
This is the superclass of PrefProxy implementations used in KawigiEdit.
AbstractPrefs() - Constructor for class kawigi.properties.AbstractPrefs
AbstractPrefs constructor.
accelerator - Variable in enum kawigi.cmd.ActID
 
accept(File) - Method in class kawigi.util.GenericFileFilter
Returns true if the file should be shown with this filter.
ActID - Enum in kawigi.cmd
ActID enum - The master list of KawigiEdit commands.
actionClass - Variable in enum kawigi.cmd.ActID
 
ActionLabel - Class in kawigi.widget
Just a JLabel that can be configured and updated by an Action.
ActionLabel() - Constructor for class kawigi.widget.ActionLabel
Constructor without parameters.
ActionLabel(Action) - Constructor for class kawigi.widget.ActionLabel
Constructor that uses an Action (if you want to use any other parameters for the constructor, you should just use a JLabel).
actionMap - Variable in class kawigi.cmd.Dispatcher
Map of ActIDs to Actions that have already been instantiated on this dispatcher.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.BooleanSettingAction
Toggles the value stored for this setting.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.ColorSettingAction
Does nothing :-)
actionPerformed(ActionEvent) - Method in class kawigi.cmd.DefaultAction
Must override to define what the action does when it launches an event.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.EditorAction
Runs the action of the command.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.FindReplaceAction
Runs this action.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.FontSettingAction
Does nothing :-) FontPanels shouldn't fire actions.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.GlobalActionAdapter
Executes the current local version of this action.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.LocalTestAction
Runs the action!
actionPerformed(ActionEvent) - Method in class kawigi.cmd.NumberSettingAction
Does nothing.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.SettingAction
Executes the non-setting setting commands.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.SnippetAction
Executes this action.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.TemplateAction
Runs the command.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.TestCasesAction
All commands gathered here.
actionPerformed(ActionEvent) - Method in class kawigi.cmd.TextSettingAction
Does nothing.
actionPerformed(ActionEvent) - Method in class kawigi.problem.ProblemParser
Process events from the Problem Parser dialog.
actionPerformed(ActionEvent) - Method in class kawigi.widget.ColorSwatchDropdown
Executes actions on the menu anchor button or on the popup menu.
actionPerformed(ActionEvent) - Method in class kawigi.widget.FilePanel
Notifies us that the "Browse" button was pushed.
actionPerformed(ActionEvent) - Method in class kawigi.widget.Snippet
Notifies us that the snippet is being used.
ActionSpinner - Class in kawigi.widget
A subclass of JSpinner that can use Actions to store properties.
ActionSpinner(Action) - Constructor for class kawigi.widget.ActionSpinner
Constructs a new ActionSpinner that uses the action as the source for several properties, including its SpinnerModel and value.
ActionStateCheckBox - Class in kawigi.widget
This is a subclass of JCheckBox that allows the Action to set its visibility and selected state.
ActionStateCheckBox(Action) - Constructor for class kawigi.widget.ActionStateCheckBox
Constructs a new ActionStateCheckBox that binds data to the given Action.
ActionStateRadioButton - Class in kawigi.widget
This is a subclass of JRadioButton that allows the Action to set its visibility and selected state.
ActionStateRadioButton(Action) - Constructor for class kawigi.widget.ActionStateRadioButton
Constructs a new ActionstateRadioButton for the given Action.
ActionTextField - Class in kawigi.widget
Just a JTextField that can be configured and updated by an Action.
ActionTextField() - Constructor for class kawigi.widget.ActionTextField
Constructor without parameters.
ActionTextField(Action) - Constructor for class kawigi.widget.ActionTextField
Constructor that uses an Action (if you want to use any other parameters for the constructor, you should just use a JTextField).
add(Snippet, String) - Method in class kawigi.widget.Category
Adds a Snippet to this category with the given subcategory.
addActionForKeyStroke(KeyStroke, Action) - Method in class kawigi.editor.KawigiEditKeyMap
Binds an action to a keystroke.
addComponents() - Method in class kawigi.widget.ColorSwatchDropdown
Creates and populates the popup menu.
addExtension(String) - Method in class kawigi.util.GenericFileFilter
Adds a file extension accepted by this filter.
addSnippetDialog - Static variable in class kawigi.cmd.SnippetAction
The global reference to the "Add Snippet" dialog, if it has been created.
addTest(Test) - Method in class kawigi.problem.ClassDecl
Adds this test to the list of tests for this problem.
addToMru(Color) - Static method in class kawigi.widget.ColorSwatch
Adds a given color to the front of the MRU color list.
adjustCBoxProps(JCheckBox) - Method in class kawigi.cmd.TestCasesAction
Some code to change default checkbox colors in plugin mode.
adjustLabelProps(JLabel) - Method in class kawigi.cmd.TestCasesAction
Some code to change default label colors in plugin mode.
ansBox - Static variable in class kawigi.cmd.TestCasesAction
 
ansBoxChanged() - Method in class kawigi.cmd.TestCasesAction
Doing some UI changes after clicking on checkbox near answer (is it needed to check it).
answerFld - Static variable in class kawigi.cmd.TestCasesAction
 
AppEnvironment - Enum in kawigi.util
This enum class tells us whether we're in plugin mode or standalone mode.
arrayDlg - Static variable in class kawigi.cmd.TestCasesAction
Dialog for editing array parameter of test case.
arrayField - Static variable in class kawigi.cmd.TestCasesAction
 
arrayLabel - Static variable in class kawigi.cmd.TestCasesAction
All visual controls in dialog for editing array parameter of test case.
arrayText - Static variable in class kawigi.cmd.TestCasesAction
 

B

BooleanSettingAction - Class in kawigi.cmd
Setting Action implementation for boolean-state settings
BooleanSettingAction(ActID) - Constructor for class kawigi.cmd.BooleanSettingAction
Creates a new BooleanSettingAction with the given ActID.

C

canRedo() - Method in class kawigi.editor.CodePane
Returns true if there are redoable edits that have been undone.
canUndo() - Method in class kawigi.editor.CodePane
Returns true if there are undoable edits in the undo stack.
caretUpdate(CaretEvent) - Method in class kawigi.editor.LineNumbers
Listens for changes in caret position on the text pane.
caseDisps - Static variable in class kawigi.cmd.TestCasesAction
 
caseDlg - Static variable in class kawigi.cmd.TestCasesAction
Dialog for editing single test case.
caseNum - Static variable in class kawigi.cmd.TestCasesAction
Number of test case which is edited at nowtime (if test case will be added this variable is setted to -1).
Category - Class in kawigi.widget
Adapted from KawigiEdit 1's kawigi.snippet.Category.
Category(String) - Constructor for class kawigi.widget.Category
Creates a Category with the given name.
Category() - Constructor for class kawigi.widget.Category
Default constructor for a Category.
ChainedPrefs - Class in kawigi.properties
This class is used by the settings dialog.
ChainedPrefs(PrefProxy) - Constructor for class kawigi.properties.ChainedPrefs
Constructs a new ChainedPrefs to proxy the given PrefProxy.
changeCode(String) - Method in class kawigi.widget.Snippet
Sets the code associated with this snippet.
changedUpdate(DocumentEvent) - Method in class kawigi.editor.LineNumbers
Listens for changes on the Document in its associated text pane.
changedUpdate(DocumentEvent) - Method in class kawigi.widget.ActionTextField
Called when the text in the TextField changes.
changeEvent() - Method in class kawigi.widget.FontPanel
Process any property changes.
characters(char[], int, int) - Method in class kawigi.cmd.UIHandler
Notifies us of non-tag characters between tags.
checkLines(String) - Method in class kawigi.editor.LineNumbers
Called by the DocumentListener methods to check if the number of lines has changed, and if it has, it updates the display.
ChipIcon - Class in kawigi.widget
Represents an icon with a "color chip" which represents the current selected color.
ChipIcon(Icon, ColorSwatchDropdown) - Constructor for class kawigi.widget.ChipIcon
Constructs a new ChipIcon which draws a color chip on top of the given Icon in the color selected by the given ColorSwatchDropdown.
classColor - Static variable in class kawigi.editor.GenericView
Colors for various token types.
ClassDecl - Class in kawigi.problem
This class represents the code side of a problem statement.
ClassDecl(String, MethodDecl) - Constructor for class kawigi.problem.ClassDecl
Constructs a new ClassDecl with the given name and method.
ClassDeclFactory - Class in kawigi.problem
This class takes some set of parameters and generates a ClassDecl from it.
ClassDeclFactory() - Constructor for class kawigi.problem.ClassDeclFactory
 
ClassDeclGenerator - Interface in kawigi.problem
Interface implemented by the TopCoder problem converter and the problem statement parser.
clear() - Method in class kawigi.KawigiEdit
Empties the text pane.
clear() - Method in interface kawigi.util.ConsoleDisplay
Called to clear the output display.
clear() - Method in class kawigi.widget.SimpleOutputComponent
Clears the display.
clone() - Method in class kawigi.problem.Test
Copies this object into another one.
cmdid - Variable in class kawigi.cmd.DefaultAction
The ActID for this Action.
codepane - Variable in class kawigi.cmd.FindReplaceAction
The CodePane that this action should act on.
CodePane - Class in kawigi.editor
This class was originally just a hack on JTextPane to stop it from wrapping lines, as there is no setting or method to do this normally.
CodePane() - Constructor for class kawigi.editor.CodePane
Creates a new NoWrapJTextPane and sets it to use various versions of my EditorKit implementation based on a few mime types.
COLOR - Static variable in class kawigi.cmd.DefaultAction
Color property for the currently selected color in a color-selection control.
colorHash - Static variable in class kawigi.editor.CPPView
A map from token to its color.
colorHash - Static variable in class kawigi.editor.CSharpView
A map from token to its color.
colorHash - Static variable in class kawigi.editor.JavaView
A map from token to its color.
colorHash - Static variable in class kawigi.editor.VBView
A map from token to its color.
ColorSettingAction - Class in kawigi.cmd
Setting action implementation for color settings.
ColorSettingAction(ActID) - Constructor for class kawigi.cmd.ColorSettingAction
Constructs a new ColorSettingAction for the given ActID.
ColorSwatch - Class in kawigi.widget
This is a component that renders a grid of colors for the user to choose from.
ColorSwatch() - Constructor for class kawigi.widget.ColorSwatch
Constructs a new ColorSwatch with the default colors.
ColorSwatchDropdown - Class in kawigi.widget
Implementation of a button that drops a menu that has a color swatch on it.
ColorSwatchDropdown(Action) - Constructor for class kawigi.widget.ColorSwatchDropdown
Constructs a new ColorSwatchDropdown bound to the given action.
commentColor - Static variable in class kawigi.editor.GenericView
Colors for various token types.
commit() - Method in class kawigi.properties.ChainedPrefs
Saves the values of properties previously set on this PrefProxy, and causes the chained PrefProxy to also commit.
commit() - Method in interface kawigi.properties.PrefProxy
Saves the values stored as preferences.
commit() - Method in class kawigi.properties.StandAlonePrefs
Saves the properties in Java's XML Properties format.
commit() - Method in class kawigi.properties.TCPrefs
Tells the TopCoder applet to save its preferences.
compileLocal() - Method in class kawigi.cmd.LocalTestAction
Compiles the saved code for this problem.
ConfigurableEditorKit - Class in kawigi.editor
It's configurable because you can "Configure" the kind of View its ViewFactory returns.
ConfigurableEditorKit(Class) - Constructor for class kawigi.editor.ConfigurableEditorKit
Constructs a ConfigurableEditorKit that uses Views of class v.
ConfigurableEditorKit() - Constructor for class kawigi.editor.ConfigurableEditorKit
Constructs a ConfigurableEditorKit with no default View implementation.
configure() - Method in class kawigi.KawigiEdit
Brings up a configure dialog to set options in the editor plugin.
ConsoleDisplay - Interface in kawigi.util
An encapsulation of the output method from a process's standard output or error streams.
context - Variable in class kawigi.cmd.Dispatcher
The object for commands to act on if this is a subdispatcher.
context - Variable in class kawigi.cmd.EditorAction
The CodePane this action should act on.
context - Variable in class kawigi.cmd.SnippetAction
The CodePane that this action should act on.
countTests() - Method in class kawigi.problem.ClassDecl
Returns the current number of tests for this problem.
CPPTestGenerator - Class in kawigi.language
 
CPPTestGenerator() - Constructor for class kawigi.language.CPPTestGenerator
 
CPPView - Class in kawigi.editor
C++ Implementation of a View that takes care of syntax hilighting when rendering text.
CPPView(Element) - Constructor for class kawigi.editor.CPPView
Creates a new C++ View to render this Element.
create(Element) - Method in class kawigi.editor.ObedientViewFactory
Creates a View instance of the class designated to this ViewFactory.
createArrayDialog(ClassDecl) - Method in class kawigi.cmd.TestCasesAction
Creates the dialog for editing array parameter.
createCaseDialog(ClassDecl) - Method in class kawigi.cmd.TestCasesAction
Creates the dialog for editing single test case.
createDefaultEditorKit() - Method in class kawigi.editor.CodePane
By default, use my GenericView to render the text.
createMainDialog(ClassDecl) - Method in class kawigi.cmd.TestCasesAction
Creates the main dialog for editing test cases.
createSubDispatcher(Component) - Method in class kawigi.cmd.Dispatcher
Creates and returns a local subdispatcher that acts on context.
CSharpTestGenerator - Class in kawigi.language
 
CSharpTestGenerator() - Constructor for class kawigi.language.CSharpTestGenerator
 
CSharpView - Class in kawigi.editor
 
CSharpView(Element) - Constructor for class kawigi.editor.CSharpView
Creates a new CSharpView to render this element.
currentColor - Variable in class kawigi.widget.ColorSwatchDropdown
Currently selected color on this dropdown.
currentScore() - Method in class kawigi.widget.ProblemTimingInfo
Returns the score on the current problem if it were submitted right now.

D

DefaultAction - Class in kawigi.cmd
Superclass of all KawigiEdit actions.
DefaultAction(ActID) - Constructor for class kawigi.cmd.DefaultAction
Constructor for DefaultAction - requires an ActID.
defaultValue - Variable in enum kawigi.cmd.ActID
 
delayNotify() - Static method in class kawigi.cmd.SettingAction
Returns true if settings shouldn't be committed yet.
delButs - Static variable in class kawigi.cmd.TestCasesAction
 
delsPan - Static variable in class kawigi.cmd.TestCasesAction
 
dialog - Static variable in class kawigi.cmd.SettingAction
Reference to the config dialog.
dialogShowing() - Method in class kawigi.cmd.FindReplaceContext
Returns true if the find/replace dialog has been created and is showing.
directiveColor - Static variable in class kawigi.editor.GenericView
Colors for various token types.
Dispatcher - Class in kawigi.cmd
This class is the switchboard of KawigiEdit's command infrastructure, as of version 2.0.
Dispatcher(Component) - Constructor for class kawigi.cmd.Dispatcher
Instantiates a local subdispatcher that acts on context.
doReplaceAll() - Method in class kawigi.cmd.FindReplaceAction
Does a global replacement with the current search and replacement strings.
doReplacement() - Method in class kawigi.cmd.FindReplaceAction
Does the replacement action with the replacement pattern if the current selection matches the search string.
doSelection() - Method in class kawigi.editor.LineNumbers
Handles selection in the text pane due to gestures on the line numbers.
doUpdates() - Method in class kawigi.cmd.SettingAction
Does all the commital actions that need to happen assuming all settings were changed at once.
drawSelectedText(Graphics, int, int, int, int) - Method in class kawigi.editor.CPPView
Overridden from PlainView - this method gets called to render every element of selected text, so that I could change how it's displayed if I want.
drawSelectedText(Graphics, int, int, int, int) - Method in class kawigi.editor.CSharpView
Overridden from PlainView - this method gets called to render every element of selected text, so that I could change how it's displayed if I want.
drawSelectedText(Graphics, int, int, int, int) - Method in class kawigi.editor.JavaView
Overridden from PlainView - this method gets called to render every element of selected text, so that I could change how it's displayed if I want.
drawSelectedText(Graphics, int, int, int, int) - Method in class kawigi.editor.VBView
Overridden from PlainView - this method gets called to render every element of selected text, so that I could change how it's displayed if I want.
drawTabbedText(String, int, int, Graphics, int, boolean, boolean) - Method in class kawigi.editor.CPPView
Renders the text segment onto the given Grapnics context.
drawTabbedText(String, int, int, Graphics, int, boolean, boolean) - Method in class kawigi.editor.CSharpView
Renders the text segment onto the given Grapnics context.
drawTabbedText(String, int, int, Graphics, int, boolean, boolean) - Method in class kawigi.editor.JavaView
Renders the text segment onto the given Graphics context.
drawTabbedText(String, int, int, Graphics, int, boolean) - Method in class kawigi.editor.VBView
Renders the text segment onto the given Grapnics context.
drawUnselectedText(Graphics, int, int, int, int) - Method in class kawigi.editor.CPPView
Overridden from PlainView - this method gets called to render every element of unselected text.
drawUnselectedText(Graphics, int, int, int, int) - Method in class kawigi.editor.CSharpView
Overridden from PlainView - this method gets called to render every element of unselected text.
drawUnselectedText(Graphics, int, int, int, int) - Method in class kawigi.editor.JavaView
Overridden from PlainView - this method gets called to render every element of unselected text.
drawUnselectedText(Graphics, int, int, int, int) - Method in class kawigi.editor.VBView
Overridden from PlainView - this method gets called to render every element of unselected text.

E

editButs - Static variable in class kawigi.cmd.TestCasesAction
 
editFields - Static variable in class kawigi.cmd.TestCasesAction
All visual controls and its dispatchers in dialog for editing single test case.
EditorAction - Class in kawigi.cmd
This is the big thing that controls common editor commands that act on a specific CodePane.
EditorAction(ActID, CodePane) - Constructor for class kawigi.cmd.EditorAction
Constructs a new EditorAction that executes the ActID on the CodePane.
EditorDataType - Enum in kawigi.language
This enum represents all the data types supported by TopCoder as input or output types.
EditorLanguage - Enum in kawigi.language
 
EditorPanel - Class in kawigi.editor
This class represents a CodePane with line numbers and scroll bars.
EditorPanel() - Constructor for class kawigi.editor.EditorPanel
Constructs a new EditorPanel.
editsPan - Static variable in class kawigi.cmd.TestCasesAction
 
enableSet - Variable in class kawigi.cmd.DefaultAction
Last set value for enable property.
endDocument() - Method in class kawigi.cmd.UIHandler
Notifies us that the parser has reached the end of the UI document.
endElement(String, String, String) - Method in class kawigi.cmd.UIHandler
Notifies us of an end tag being reached.
endVal() - Method in class kawigi.util.ProcessContainer
Returns the exit value of the process, waiting for it to finish if it hasn't yet.
equals(Object) - Method in class kawigi.cmd.DefaultAction
Determines if this action is equal to another one.
equals(Object) - Method in class kawigi.problem.Test
Checks if this test case is the same as another test case.
eraseSubDispatcher(Dispatcher) - Method in class kawigi.cmd.Dispatcher
Deletes subdispatcher from internal structures and forgets it.
escape(String) - Static method in class kawigi.widget.Snippet
Utility function (also used by Category) which takes a String and converts any special XML characters to XML escape sequences.
escapePattern(String) - Method in class kawigi.cmd.FindReplaceContext
Takes a search string that isn't supposed to be used as a regular expression and makes it regular-expression-able by escaping characters that would otherwise have an unwanted meaning in a regular expression (or worse, make the regular expression not compile, in which case we'd be hosed).
evaluateTag(String, EditorLanguage) - Method in class kawigi.problem.ClassDecl
Evaluates a KawigiEdit tag from a template.

F

factory - Variable in class kawigi.editor.ConfigurableEditorKit
My ViewFactory that I return:
fatalError(SAXParseException) - Method in class kawigi.cmd.UIHandler
Notifies us of any error encountered in parsing.
fieldChanged() - Method in class kawigi.cmd.TestCasesAction
Changes text in TextArea (array one-element-in-line) after editing TextBox (array comma-separated).
fieldNum - Static variable in class kawigi.cmd.TestCasesAction
Number of an array field in test case which is edited at nowtime.
filename - Variable in enum kawigi.cmd.MenuID
The name of the file of the default .ui file in rc/ui.
FilePanel - Class in kawigi.widget
A simple panel that has fields to enter a font face and size.
FilePanel(Action) - Constructor for class kawigi.widget.FilePanel
Constructs a new FontPanel linked to the given Action.
findIntervals(ArrayList<Interval>, String, String[], boolean) - Method in class kawigi.editor.GenericView
Helper function to help with getIntervals.
findIntervals(ArrayList<Interval>, String, String[], boolean) - Method in class kawigi.editor.VBView
Helper function to help with getIntervals.
findName(String, int, int, int, int, String[], boolean) - Method in class kawigi.editor.GenericView
Searches for a String identifier for a block in the text before the block.
findName(String, int, int, int, int, String[], boolean) - Method in class kawigi.editor.VBView
Searches for a String identifier for a block in the text after the block start token.
FindReplaceAction - Class in kawigi.cmd
Action implementation for Find/Replace related actions.
FindReplaceAction(ActID, CodePane) - Constructor for class kawigi.cmd.FindReplaceAction
Constructs a new FindReplaceAction to execute the given ActID on the given CodePane.
FindReplaceContext - Class in kawigi.cmd
An object held by a CodePane that holds state used by Find/Replace Actions.
FindReplaceContext(Dispatcher) - Constructor for class kawigi.cmd.FindReplaceContext
Constructs a new FindReplaceContext which operates on commands in the given subdispatcher.
fixLiteral(String, EditorDataType) - Method in enum kawigi.language.EditorLanguage
Makes some value suitable for inserting in the code.
focusGained(FocusEvent) - Method in class kawigi.cmd.Dispatcher
Notifies the global dispatcher that a new "context" has gotten focus.
focusLost(FocusEvent) - Method in class kawigi.cmd.Dispatcher
Does nothing - part of the FocusListener interface.
FONT - Static variable in class kawigi.cmd.DefaultAction
Font property stored for a kawigi.widget.FontPanel
FontCellRenderer - Class in kawigi.widget
Allows a JComboBox of Fonts to show the fonts in the described font.
FontCellRenderer() - Constructor for class kawigi.widget.FontCellRenderer
 
FontPanel - Class in kawigi.widget
A simple panel that has fields to enter a font face and size.
FontPanel(Action) - Constructor for class kawigi.widget.FontPanel
Constructs a new FontPanel linked to a.
FontSettingAction - Class in kawigi.cmd
Setting action implementation for font settings.
FontSettingAction(ActID) - Constructor for class kawigi.cmd.FontSettingAction
Constructs a new FontSettingAction with the given ActID.

G

GenericFileFilter - Class in kawigi.util
Good All-purpose configurable file filter.
GenericFileFilter(String) - Constructor for class kawigi.util.GenericFileFilter
Creates a new file filter with the given description.
GenericFileFilter(String, String) - Constructor for class kawigi.util.GenericFileFilter
Creates a new file filter with the given description and single file extension.
GenericView - Class in kawigi.editor
Superclass of all language-specific views in KawigiEdit.
GenericView(Element) - Constructor for class kawigi.editor.GenericView
Just forwards that Element on down.
getAction(ActID) - Method in class kawigi.cmd.Dispatcher
Gets the Action instance for the given ActID.
getAction(ActID, boolean) - Method in class kawigi.cmd.Dispatcher
Gets the Action instance for the given ActID.
getAction(KeyStroke) - Method in class kawigi.editor.KawigiEditKeyMap
Returns a bound action for the given KeyStroke.
getAnswer() - Method in class kawigi.problem.Test
Returns the intended output for this test.
getBackground() - Method in class kawigi.widget.ColorSwatchDropdown
Returns the background color of this button.
getBoolean(String) - Method in class kawigi.properties.AbstractPrefs
Gets the given property as a boolean value.
getBoolean(String, boolean) - Method in class kawigi.properties.AbstractPrefs
Gets the given property as a boolean value, setting it to the defaultValue if it isn't set yet.
getBoolean(String) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as a boolean.
getBoolean(String, boolean) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as a boolean, setting it to defaultValue if it isn't set yet.
getBoundActions() - Method in class kawigi.editor.KawigiEditKeyMap
Gets all the actions that are bound by this KeyMap.
getBoundKeyStrokes() - Method in class kawigi.editor.KawigiEditKeyMap
Gets all the keystrokes that are bound by this KeyMap.
getCaret() - Method in class kawigi.problem.Skeleton
Returns the index within the skeleton at which the caret should start out.
getCaseSensitive() - Method in class kawigi.cmd.FindReplaceContext
Returns true if the "Case Sensitive" option is on.
getCategory() - Static method in class kawigi.cmd.SnippetContext
Returns the current category from the snippet dialog.
getClassDecl(Object...) - Static method in class kawigi.problem.ClassDeclFactory
Generates a ClassDecl given some parameters.
getClassDecl(Object...) - Method in interface kawigi.problem.ClassDeclGenerator
Returns the ClassDecl of the current problem.
getClassDecl(Object...) - Method in class kawigi.problem.ProblemParser
Shows the dialog, and when the dialog is closed, returns the ClassDecl that resulted from it.
getClassDecl(Object...) - Method in class kawigi.problem.TCProblemConverter
Generates a ClassDecl from the given parameters.
getCode(ClassDecl) - Method in class kawigi.language.CPPTestGenerator
Returns the testing code for the problem statement's testing cases.
getCode(ClassDecl) - Method in class kawigi.language.CSharpTestGenerator
Returns C# testing code for the problem statement's example test cases.
getCode(ClassDecl) - Method in class kawigi.language.JavaTestGenerator
Returns Java testing code for the problem statement's example test cases.
getCode(ClassDecl) - Method in interface kawigi.language.TestGenerator
Returns the testing code for this problem.
getCode(ClassDecl) - Method in class kawigi.language.VBTestGenerator
Returns VB.NET testing code for the problem statement's example test cases.
getCode() - Method in class kawigi.widget.Snippet
Returns the code this snippet is associated with.
getCodePane() - Static method in class kawigi.cmd.Dispatcher
Gets the CodePane for the code editor.
getCodePane() - Method in class kawigi.editor.EditorPanel
Returns the CodePane displayed on this EditorPanel.
getColor(String) - Method in class kawigi.editor.CPPView
Returns the color to use on the given token.
getColor(String) - Method in class kawigi.editor.CSharpView
Returns the color to use on the given token.
getColor(String) - Method in class kawigi.editor.JavaView
Returns the color to use on the given token.
getColor(String) - Method in class kawigi.editor.VBView
Returns the color to use on the given token.
getColor(String) - Method in class kawigi.properties.AbstractPrefs
Gets the given property as a color.
getColor(String, Color) - Method in class kawigi.properties.AbstractPrefs
Gets the given property as a color, setting it to defaultValue if it isn't set yet.
getColor(String) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as a Color.
getColor(String, Color) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as a Color, setting it to defaultValue if it isn't set yet.
getColor() - Method in class kawigi.widget.ColorSwatchDropdown
Gets the color selected by this dropdown.
getColors() - Static method in class kawigi.editor.GenericView
initializes all the syntax colors.
getCompileCommand(String) - Method in enum kawigi.language.EditorLanguage
 
getCompileComponent() - Static method in class kawigi.cmd.Dispatcher
Returns the component that displays compile output.
getCurrentAction() - Method in class kawigi.cmd.GlobalActionAdapter
Tries to find the most relevant local version of this action.
getCurrentClass() - Static method in class kawigi.cmd.ProblemContext
Returns the current problem's class info.
getCurrentComponent() - Method in class kawigi.cmd.UIHandler
Returns the control that we created, or null if we aren't finished.
getCurrentPattern() - Method in class kawigi.cmd.FindReplaceContext
Gets a regular expression pattern representing the current search string.
getCurrentPrefs() - Static method in class kawigi.cmd.SettingAction
Returns the temporary prefs if there is one, otherwise the real KawigiEdit prefs.
getCustomUI() - Method in enum kawigi.cmd.MenuID
Returns the name of the file that stores the customized version of this ui file.
getDefaultAction() - Method in class kawigi.editor.KawigiEditKeyMap
Returns the default action for unbound keystrokes.
getDescription() - Method in class kawigi.util.GenericFileFilter
Returns the description of this filter.
getDialog() - Method in class kawigi.cmd.FindReplaceContext
Returns the Find/Replace dialog.
getDispatcher() - Method in class kawigi.editor.CodePane
Returns the local dispatcher for commands that act on this CodePane.
getDouble(String) - Method in class kawigi.properties.AbstractPrefs
Gets the given property as a double.
getDouble(String, double) - Method in class kawigi.properties.AbstractPrefs
Gets the given property as a double, setting it to defaultValue if it hasn't been set yet.
getDouble(String) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as a double.
getDouble(String, double) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as a double, setting it to defaultValue if it isn't set yet.
getEditorPanel() - Static method in class kawigi.cmd.Dispatcher
Gets the EditorPanel for the code editor.
getEditorPanel() - Method in class kawigi.KawigiEdit
Returns the magic KawigiEdit panel.
getEndIndex() - Method in class kawigi.editor.Interval
Returns the literal index in the string of code that the block ends on.
getEndLine() - Method in class kawigi.editor.Interval
Returns the line number that the block ends on.
getEndToken() - Method in class kawigi.editor.Interval
Returns the token ending this match.
getEnvironment() - Static method in enum kawigi.util.AppEnvironment
Returns the current application mode.
getErrDisplay() - Method in class kawigi.util.ProcessContainer
Returns the display for stderr.
getFileChooser() - Static method in class kawigi.cmd.Dispatcher
Returns a "community JFileChooser instance.
getFileName(String) - Method in enum kawigi.language.EditorLanguage
 
getFindReplaceContext() - Method in class kawigi.editor.CodePane
Returns the object handling state for Find/Replace commands on this CodePane.
getFont(String) - Method in class kawigi.properties.AbstractPrefs
Gets the given property as a Font object.
getFont(String, Font) - Method in class kawigi.properties.AbstractPrefs
Returns the given property as a Font object, setting the property to the value of the default value if it isn't set.
getFont(String) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as a Font.
getFont(String, Font) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as a Font, setting it to defaultValue if it isn't set yet.
getForeground() - Method in class kawigi.widget.ColorSwatchDropdown
Returns the foreground color.
getGenerator() - Static method in class kawigi.problem.ClassDeclFactory
Determines the type of ClassDeclGenerator that should be used according to the current application mode.
getGlobalDispatcher() - Static method in class kawigi.cmd.Dispatcher
Accessor for the global dispatcher.
getIconHeight() - Method in class kawigi.widget.ChipIcon
Returns the height of this icon.
getIconWidth() - Method in class kawigi.widget.ChipIcon
Returns the width of this icon.
getID() - Method in class kawigi.cmd.DefaultAction
returns the ActID for this Action.
getInsertCode() - Static method in class kawigi.cmd.SnippetContext
Returns the code that should be inserted by actInsertSnippet.
getInt(String) - Method in class kawigi.properties.AbstractPrefs
Gets the given property as an int.
getInt(String, int) - Method in class kawigi.properties.AbstractPrefs
Gets the given property as an int, setting the property to defaultValue if it hasn't been set yet.
getInt(String) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as an integer.
getInt(String, int) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as an integer, setting it to defaultValue if it isn't set yet.
getIntervals() - Method in class kawigi.editor.CPPView
Extension of the generic getIntervals() method that includes compiler directive matches.
getIntervals() - Method in class kawigi.editor.CSharpView
Extension to the generic getIntervals() implementation for C#.
getIntervals() - Method in class kawigi.editor.GenericView
Returns an ArrayList of Interval objects representing code block intervals in the document.
getIntervals() - Method in class kawigi.editor.VBView
Returns an ArrayList of Interval objects representing code block intervals in the document.
getKeyStrokesForAction(Action) - Method in class kawigi.editor.KawigiEditKeyMap
Returns the KeyStrokes that execute the given action.
getLanguage() - Static method in class kawigi.cmd.ProblemContext
Returns the current language that is being used.
getLanguage(String) - Static method in class kawigi.language.LanguageFactory
Returns the EditorLanguage with the given name, or that supports the file extension given by name.
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class kawigi.widget.FontCellRenderer
Returns the component to render the cell value in list
getLocalCodeEditorPanel() - Static method in class kawigi.cmd.Dispatcher
Gets the EditorPanel for the Local Code tab.
getLocalCodePane() - Static method in class kawigi.cmd.Dispatcher
Gets the CodePane for the Local Code tab.
getMethod() - Method in class kawigi.problem.ClassDecl
Returns the method declaration that needs to be implemented in this class.
getName() - Method in class kawigi.editor.Interval
Returns the "name" of this block.
getName() - Method in class kawigi.editor.KawigiEditKeyMap
Returns the name of this keymap.
getName(EditorDataType) - Method in enum kawigi.language.EditorLanguage
 
getName() - Method in class kawigi.problem.ClassDecl
Returns the name of this class.
getName() - Method in class kawigi.problem.MethodDecl
Returns the name of this method.
getName() - Method in class kawigi.widget.Category
Returns the name of this category or subcategory.
getName() - Method in class kawigi.widget.Snippet
Returns the name of this snippet.
getOutputComponent() - Static method in class kawigi.cmd.Dispatcher
Returns the component that displays stuff printed from test runs.
getOutputDisplay() - Method in class kawigi.util.ProcessOutput
Returns the display component being used by this thread.
getParameters() - Method in class kawigi.problem.Test
Returns the input parameters for this test.
getParamNames() - Method in class kawigi.problem.MethodDecl
Returns the names of the parameters to this method.
getParamTypes() - Method in class kawigi.problem.MethodDecl
Returns the types of the parameters to this method.
getPoints() - Method in class kawigi.widget.ProblemTimingInfo
Returns the point value for this problem.
getPrefs() - Static method in class kawigi.properties.PrefFactory
Returns the global PrefProxy.
getPrimitiveType() - Method in enum kawigi.language.EditorDataType
Returns the type of elements of this type if this is an array type.
getProblemID() - Method in class kawigi.widget.ProblemTimingInfo
Returns the unique ProblemID of this problem from TopCoder.
getProblemTimer() - Static method in class kawigi.cmd.Dispatcher
Returns the problem timer.
getProperty(String, String) - Method in class kawigi.properties.AbstractPrefs
Gets the given property, setting it to defaultValue if it isn't set yet.
getProperty(String) - Method in class kawigi.properties.ChainedPrefs
Gets the current value of a property.
getProperty(String) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as a String.
getProperty(String, String) - Method in interface kawigi.properties.PrefProxy
Returns the value of a property as a String, setting it to defaultValue if it isn't set yet.
getProperty(String) - Method in class kawigi.properties.StandAlonePrefs
Returns the string value of the given property.
getProperty(String) - Method in class kawigi.properties.TCPrefs
Gets the value of a property as a String.
getPropertyCategory() - Method in enum kawigi.language.EditorLanguage
 
getReplacement() - Method in class kawigi.cmd.FindReplaceContext
Returns the current replacement string.
getResolveParent() - Method in class kawigi.editor.KawigiEditKeyMap
Returns the parent of this keymap.
getReturnType() - Method in class kawigi.problem.MethodDecl
Returns the return type of this method.
getRunCommand(String, String) - Method in enum kawigi.language.EditorLanguage
 
getScrollableBlockIncrement(Rectangle, int, int) - Method in class kawigi.editor.CodePane
Tweak of the default block scolling increment.
getScrollableTracksViewportWidth() - Method in class kawigi.editor.CodePane
It's brutally annoying that I have to write this, and sometimes it doesn't even quite work (I haven't had particular problems with it for a while now, though..
getScrollableUnitIncrement(Rectangle, int, int) - Method in class kawigi.editor.CodePane
Tweak of the default unit scrolling increment.
getSearchString() - Method in class kawigi.cmd.FindReplaceContext
Returns the current search string.
getSelected() - Method in class kawigi.widget.ColorSwatch
Gets the selected color value from this swatch.
getSelectedFont() - Method in class kawigi.widget.FontPanel
Returns the currently selected font, with plain decoration (not italic or bold)
getSkeleton(ClassDecl, EditorLanguage) - Static method in class kawigi.problem.TemplateGenerator
Generates the output of the code template with the given ClassDecl in the given language.
getSnippetName() - Static method in class kawigi.cmd.SnippetContext
Returns the current snippet name from the snippet dialog.
getSource() - Method in class kawigi.KawigiEdit
Returns the text in the editor.
getSource() - Method in class kawigi.problem.Skeleton
Returns the source code for this skeleton.
getStartIndex() - Method in class kawigi.editor.Interval
Returns the literal index in the string that the block starts on.
getStartLine() - Method in class kawigi.editor.Interval
Returns the line number that the block starts on.
getStartTime() - Method in class kawigi.widget.ProblemTimingInfo
Returns the time that this problem was opened.
getStartToken() - Method in class kawigi.editor.Interval
Returns the token starting this match.
getStdDisplay() - Method in class kawigi.util.ProcessContainer
Returns the display for stdout.
getTabbedPane() - Static method in class kawigi.cmd.Dispatcher
Returns the JTabbedPane that all the major stuff is on.
getTabSize() - Method in class kawigi.editor.GenericView
Programmers don't like 8-space tabstops.
getTemplate(EditorLanguage) - Static method in class kawigi.problem.TemplateGenerator
Returns the (default or customized) template for the given language.
getTemplateCodePane() - Static method in class kawigi.cmd.Dispatcher
Returns the CodePane for the template editor.
getTemplateEditor() - Static method in class kawigi.cmd.Dispatcher
Returns the EditorPanel for the template editor.
getTest(int) - Method in class kawigi.problem.ClassDecl
Returns the test case at the given index.
getTestCodePane() - Static method in class kawigi.cmd.Dispatcher
Gets the CodePane for teh Testing Code editor.
getTestEditorPanel() - Static method in class kawigi.cmd.Dispatcher
Gets the EditorPanel for the Testing Code editor.
getTestGenerator() - Method in enum kawigi.language.EditorLanguage
 
getType(String) - Method in enum kawigi.language.EditorLanguage
 
getValue(String) - Method in class kawigi.cmd.BooleanSettingAction
Overridden to override the "SELECTED" property, which is recognized by kawigi.widget.ActionState* as the selected state of the button.
getValue(String) - Method in class kawigi.cmd.ColorSettingAction
Overridden to override the COLOR property, which is recognized by kawigi.widget.ColorSwatchDropdown as the value for the currently selected color.
getValue(String) - Method in class kawigi.cmd.FindReplaceAction
Overridden to override the TEXT property of text fields and SELECTED property of the check boxes and radio buttons.
getValue(String) - Method in class kawigi.cmd.FontSettingAction
Overriden to get the right value for the FONT property.
getValue(String) - Method in class kawigi.cmd.GlobalActionAdapter
Tries to get the value of a property from the current local version of this action.
getValue(String) - Method in class kawigi.cmd.NumberSettingAction
Overridden to get the right value for the SPINNER_VALUE and SPINNER_MODEL properties.
getValue(String) - Method in class kawigi.cmd.SnippetAction
Overridden to return the right values for the TEXT property.
getValue(String) - Method in class kawigi.cmd.TestCasesAction
Getting text for parameter value TextBox.
getValue(String) - Method in class kawigi.cmd.TextSettingAction
Overridden to return the correct value for the TEXT property.
getViewFactory() - Method in class kawigi.editor.ConfigurableEditorKit
Overridden from StyledEditorKit to return my ViewFactory.
getWholeWord() - Method in class kawigi.cmd.FindReplaceContext
Returns true if the "Whole Word" option is on.
getWindow() - Static method in class kawigi.cmd.Dispatcher
Gets the main window.
getWorkingDirectory() - Method in class kawigi.properties.AbstractPrefs
Returns the value of the "kawigi.localpath" property as a File.
getWorkingDirectory() - Method in interface kawigi.properties.PrefProxy
Gets the directory that should be used locally by KawigiEdit.
getXMLStream() - Method in enum kawigi.cmd.MenuID
Returns an InputStream which either comes from a file if this UI is customized or from the jar (or classpath) otherwise.
GlobalActionAdapter - Class in kawigi.cmd
The idea here is to have an action that works as a global version of a local command.
GlobalActionAdapter(ActID) - Constructor for class kawigi.cmd.GlobalActionAdapter
Constructs a new GlobalActionAdapter on the given ActID.
globalDispatcher - Static variable in class kawigi.cmd.Dispatcher
The all-important singleton global dispatcher.
GridPanel - Class in kawigi.widget
 
GridPanel() - Constructor for class kawigi.widget.GridPanel
 

H

HideableButton - Class in kawigi.widget
Subclass of JButton that allows an Action to change the visibility of the button.
HideableButton(Action) - Constructor for class kawigi.widget.HideableButton
Constructs a new HideableButton bound to the given action.
highlightKey1 - Static variable in class kawigi.editor.GenericView
Keys for the pair-matching highlighter.
highlightKey2 - Static variable in class kawigi.editor.GenericView
Keys for the pair-matching highlighter.
HorizontalPanel - Class in kawigi.widget
A JPanel with a horizontal BoxLayout set.
HorizontalPanel() - Constructor for class kawigi.widget.HorizontalPanel
Constructs a new HorizontalPanel.

I

iconFile - Variable in enum kawigi.cmd.ActID
 
initColors() - Static method in class kawigi.editor.CPPView
Initializes the keywords/tokens and their colors.
initColors() - Static method in class kawigi.editor.CSharpView
Initializes the keywords/tokens and their colors.
initColors() - Static method in class kawigi.editor.JavaView
Initializes the keywords/tokens and their colors.
initColors() - Static method in class kawigi.editor.VBView
Initializes the keywords/tokens and their colors.
insertUpdate(DocumentEvent) - Method in class kawigi.editor.LineNumbers
Listens for changes on the Document in its associated text pane.
insertUpdate(DocumentEvent) - Method in class kawigi.widget.ActionTextField
Called when the text in the TextField changes.
install() - Method in class kawigi.KawigiEdit
Verifies or sets several properties used by parts of the editor to set up.
Interval - Class in kawigi.editor
Represents a block of code that is logically delimited (like by parentheses, curly braces, or other matched constructs).
Interval(int, int, int, int, String, String, String, boolean) - Constructor for class kawigi.editor.Interval
Constructs a new Interval with the given fields.
isArrayType() - Method in enum kawigi.language.EditorDataType
Returns true if this type represents an array type.
isBlock() - Method in class kawigi.editor.Interval
Returns true if this interval is appropriate for block marking on the left side of the code.
isChangingTexts - Static variable in class kawigi.cmd.TestCasesAction
Flag needed in synchronizing TextArea and TextBox when editing array parameter.
isDone() - Method in class kawigi.util.ProcessContainer
Returns true if this process has finished.
isDone() - Method in class kawigi.util.ProcessOutput
Returns true if this output stream has stopped producing output.
isEnabled() - Method in class kawigi.cmd.EditorAction
Returns true if a button for this action should appear enabled.
isEnabled() - Method in class kawigi.cmd.FindReplaceAction
Returns true if this Action should show up as enabled.
isEnabled() - Method in class kawigi.cmd.GlobalActionAdapter
Returns true if it can get a local version of this action and that action is enabled.
isEnabled() - Method in class kawigi.cmd.LocalTestAction
Returns true if this action can be executed.
isEnabled() - Method in class kawigi.cmd.SettingAction
Returns true if this action is available.
isEnabled() - Method in class kawigi.cmd.SnippetAction
Returns true if this command should be enabled.
isEnabled() - Method in class kawigi.cmd.TemplateAction
Returns true if these actions are available.
isEnabled() - Method in class kawigi.cmd.TestCasesAction
Returns true if this action is available.
isGlobal() - Method in enum kawigi.cmd.ActID
Use [actid].isGlobal() to figure out if it is owned by the global dispatcher or if it could be associated with (multiple?)
isGlobal() - Method in class kawigi.cmd.Dispatcher
Returns true if this dispatcher is the global dispatcher.
isLocallyDefined(KeyStroke) - Method in class kawigi.editor.KawigiEditKeyMap
Returns true if a command is bound to the given key and it's currently available.
isNeedTrackEnabled() - Method in class kawigi.cmd.DefaultAction
Shows if it's needed to track changes in "enabled" or "visible" properties.
isNeedTrackEnabled() - Method in class kawigi.cmd.TestCasesAction
I think it's very critical to not play with focus during contest.
isShowingReplace() - Method in class kawigi.cmd.FindReplaceContext
Returns true if the replace options should be showing.
isType(EditorDataType) - Method in enum kawigi.language.EditorDataType
Returns true if type is the same as this type, or if either this type or the given type represents an array/vector of the other.
isVisible() - Method in class kawigi.cmd.DefaultAction
Override to allow the control to hide dynamically.
isVisible() - Method in class kawigi.cmd.FindReplaceAction
Returns true if this action should be showing at all.
isVisible() - Method in class kawigi.cmd.GlobalActionAdapter
Returns false if it can get a local version of this action and that action is hidden.
isWithAnswer() - Method in class kawigi.problem.Test
Checks the necessarity of the answer.
itemStateChanged(ItemEvent) - Method in class kawigi.widget.FontPanel
Notifies us that selection has changed on the font combo box.

J

JavaTestGenerator - Class in kawigi.language
 
JavaTestGenerator() - Constructor for class kawigi.language.JavaTestGenerator
 
JavaView - Class in kawigi.editor
Java implementation of a View that does syntax hilighting on the fly.
JavaView(Element) - Constructor for class kawigi.editor.JavaView
Creates a new JavaView and forwards down the element.

K

kawigi - package kawigi
 
kawigi.cmd - package kawigi.cmd
 
kawigi.editor - package kawigi.editor
 
kawigi.language - package kawigi.language
 
kawigi.problem - package kawigi.problem
 
kawigi.properties - package kawigi.properties
 
kawigi.util - package kawigi.util
 
kawigi.widget - package kawigi.widget
 
KawigiEdit - Class in kawigi
This class is the actual TopCoder arena plugin.
KawigiEdit() - Constructor for class kawigi.KawigiEdit
KawigiEdit plugin constructor - sets the AppEnvironment to PluginMode.
KawigiEditKeyMap - Class in kawigi.editor
Keymap implementation used by KawigiEdit's CodePanes.
KawigiEditKeyMap(Dispatcher) - Constructor for class kawigi.editor.KawigiEditKeyMap
Constructs a KawigiEditKeyMap with the set of actions we bind to keystrokes in the editor.
KawigiEditStandalone - Class in kawigi
This is the executable class for running KawigiEdit as a standalone application instead of as a plugin.
KawigiEditStandalone() - Constructor for class kawigi.KawigiEditStandalone
 
keywordColor - Static variable in class kawigi.editor.GenericView
Colors for various token types.
kill() - Method in class kawigi.util.ProcessContainer
Forceably kills the process.
KillThread - Class in kawigi.util
Waits for the number of seconds specified in the configuration and then abruptly stops the process if it hasn't already ended.
KillThread(ProcessContainer) - Constructor for class kawigi.util.KillThread
Creates a new KillThread to monitor proc.

L

label - Variable in enum kawigi.cmd.ActID
 
labelsPan - Static variable in class kawigi.cmd.TestCasesAction
All visual controls in main dialog for editing test cases.
labsLabels - Static variable in class kawigi.cmd.TestCasesAction
 
LanguageFactory - Class in kawigi.language
Creates EditorLanguage objects based on a language name or filetype.
LanguageFactory() - Constructor for class kawigi.language.LanguageFactory
 
LARGE_ICON - Static variable in class kawigi.cmd.DefaultAction
Image property for icon if it should show a larger (24x24 instead of 16x16) icon.
lineIndex - Variable in class kawigi.editor.GenericView
Set parseIndex to 0 and lineIndex to 1 before calling findIntervals.
LineNumbers - Class in kawigi.editor
A custom widgets creating line numbers to the side of a JTextPane that also provides some interaction with the text pane.
LineNumbers(JTextPane) - Constructor for class kawigi.editor.LineNumbers
Creates an instance of LineNumbers to go next to textarea.
loadMenu(MenuID, Dispatcher) - Static method in class kawigi.cmd.UIHandler
Returns the result of loading of the given MenuID, and actions will be created using the given Dispatcher.
LocalTestAction - Class in kawigi.cmd
Action implementation for actions related to local testing.
LocalTestAction(ActID) - Constructor for class kawigi.cmd.LocalTestAction
Constructs a new LocalTestAction for the given ActID.

M

main(String[]) - Static method in class kawigi.KawigiEditStandalone
Creates and shows the KawigiEditStandalone window.
mainDlg - Static variable in class kawigi.cmd.TestCasesAction
Main dialog for editing test cases.
makeParameter(String, EditorDataType, int) - Method in class kawigi.language.CPPTestGenerator
Declares a variable called p<number> from the type and value given.
MenuID - Enum in kawigi.cmd
Enumeration corresponding to .ui files in the rc/ui directory.
MethodDecl - Class in kawigi.problem
Represents the method to be implemented for a problem.
MethodDecl(String, EditorDataType, EditorDataType[], String[]) - Constructor for class kawigi.problem.MethodDecl
Constructs a MethodDecl with the given parameters.
mnemonic - Variable in enum kawigi.cmd.ActID
 
model - Variable in class kawigi.cmd.NumberSettingAction
Spinner model used for the spinner on this setting.
moreColorsItem - Variable in class kawigi.widget.ColorSwatchDropdown
Menu item to launch the "More Colors" dialog.
mouseClicked(MouseEvent) - Method in class kawigi.editor.CodePane
Required by the MouseListener interface.
mouseClicked(MouseEvent) - Method in class kawigi.editor.LineNumbers
Empty - part of the MouseListener interface.
mouseClicked(MouseEvent) - Method in class kawigi.widget.ColorSwatch
Empty.
mouseDragged(MouseEvent) - Method in class kawigi.editor.LineNumbers
Temporarily moves the end anchor of the current selection.
mouseEntered(MouseEvent) - Method in class kawigi.editor.CodePane
Required by the MouseListener interface.
mouseEntered(MouseEvent) - Method in class kawigi.editor.LineNumbers
Empty - part of the MouseListener interface.
mouseEntered(MouseEvent) - Method in class kawigi.widget.ColorSwatch
Empty.
mouseExited(MouseEvent) - Method in class kawigi.editor.CodePane
Required by the MouseListener interface.
mouseExited(MouseEvent) - Method in class kawigi.editor.LineNumbers
Empty - part of the MouseListener interface.
mouseExited(MouseEvent) - Method in class kawigi.widget.ColorSwatch
Empty.
mouseMoved(MouseEvent) - Method in class kawigi.editor.LineNumbers
Empty - part of the MouseMotionListener interface.
mousePressed(MouseEvent) - Method in class kawigi.editor.CodePane
Listens to mouse events on the text pane, so it knows when to create the popup menu.
mousePressed(MouseEvent) - Method in class kawigi.editor.LineNumbers
Selects the number that was clicked on and sets it as an "anchor" for dragging.
mousePressed(MouseEvent) - Method in class kawigi.widget.ColorSwatch
Action when the user clicks on the swatch grid.
mouseReleased(MouseEvent) - Method in class kawigi.editor.CodePane
Listens to mouse events on the text pane, so it knows when to create the popup menu.
mouseReleased(MouseEvent) - Method in class kawigi.editor.LineNumbers
Sets the end anchor and updates the state of the widget to reflect that the click-and-drag gesture has ended.
mouseReleased(MouseEvent) - Method in class kawigi.widget.ColorSwatch
Empty.

N

NumberSettingAction - Class in kawigi.cmd
Setting action implementation for number options that are set using a spinner.
NumberSettingAction(ActID) - Constructor for class kawigi.cmd.NumberSettingAction
Constructs a new NumberSettingAction for the given ActID.

O

ObedientViewFactory - Class in kawigi.editor
Obedient because it returns what I tell it to.
ObedientViewFactory() - Constructor for class kawigi.editor.ObedientViewFactory
Creates an ObedientViewFactory with no default View implementation.
ObedientViewFactory(Class) - Constructor for class kawigi.editor.ObedientViewFactory
Creates an ObedientViewFactory using v as the View implementation class.
operatorColor - Static variable in class kawigi.editor.GenericView
Colors for various token types.

P

paint(Graphics, Shape) - Method in class kawigi.editor.GenericView
A little hack to put a "TopCoder-ish" logo and a copycat logo for KawigiEdit in the background of the text pane.
paint(Graphics) - Method in class kawigi.editor.LineNumbers
Draws the old line numbers.
paint(Graphics) - Method in class kawigi.widget.ColorSwatch
Calls paintComponent.
paint(Graphics) - Method in class kawigi.widget.ProblemTimer
Draws the seven-segment display with the current point value.
paintComponent(Graphics) - Method in class kawigi.widget.ColorSwatch
Renders the color swatch grid.
paintIcon(Component, Graphics, int, int) - Method in class kawigi.widget.ChipIcon
Draws this icon at the given location.
parseIndex - Variable in class kawigi.editor.GenericView
Set parseIndex to 0 and lineIndex to 1 before calling findIntervals.
parseTests(String, ClassDecl) - Method in class kawigi.language.CPPTestGenerator
Parses the testing code, creates test cases and adds them in ClassDecl.
parseTests(String, ClassDecl) - Method in class kawigi.language.CSharpTestGenerator
Parses the testing code and creates test cases.
parseTests(String, ClassDecl) - Method in class kawigi.language.JavaTestGenerator
Parses the testing code and creates test cases.
parseTests(String, ClassDecl) - Method in interface kawigi.language.TestGenerator
Parses the testing code, creates test cases and adds them into ClassDecl.
parseTests(String, ClassDecl) - Method in class kawigi.language.VBTestGenerator
Parses the testing code and creates test cases.
popupMenu - Variable in class kawigi.widget.ColorSwatchDropdown
Menu that pops out when the user uses this dropdown.
popupMenuCanceled(PopupMenuEvent) - Method in class kawigi.widget.ColorSwatchDropdown
Called when the popup menu is cancelled.
popupMenuWillBecomeInvisible(PopupMenuEvent) - Method in class kawigi.widget.ColorSwatchDropdown
Called when the popup menu is about to disappear.
popupMenuWillBecomeVisible(PopupMenuEvent) - Method in class kawigi.widget.ColorSwatchDropdown
Called when the popup menu is about to appear.
preference - Variable in enum kawigi.cmd.ActID
 
PrefFactory - Class in kawigi.properties
This is one of those classes that sits in between standalone mode and plugin mode.
PrefFactory() - Constructor for class kawigi.properties.PrefFactory
 
PrefProxy - Interface in kawigi.properties
Interface implemented by preference binding classes used by KawigiEdit.
print(String) - Method in interface kawigi.util.ConsoleDisplay
Called to append a string to the output display
print(String) - Method in class kawigi.widget.SimpleOutputComponent
Appends s to the end of the output display.
println(String) - Method in interface kawigi.util.ConsoleDisplay
Called to append a line to the output display.
println(String) - Method in class kawigi.widget.SimpleOutputComponent
Appends s and a new line to the end of the output display.
ProblemContext - Class in kawigi.cmd
This class is basically few globals that store the context of the current problem and language being worked on in KawigiEdit.
ProblemContext() - Constructor for class kawigi.cmd.ProblemContext
 
ProblemParser - Class in kawigi.problem
This is used to create the ClassDecl so that we can generate code for problems in standalone.
ProblemParser() - Constructor for class kawigi.problem.ProblemParser
Constructs a problem parser ready to prompt the user for a problem statement.
ProblemTimer - Class in kawigi.widget
I think seven-segment LED-looking displays are cool.
ProblemTimer() - Constructor for class kawigi.widget.ProblemTimer
Creates the new widget and initializes the polygons (aren't you glad I only generate those once?)
ProblemTimingInfo - Class in kawigi.widget
This class is used to persist data about timing on a specific problem that you've opened.
ProblemTimingInfo(double, long, int) - Constructor for class kawigi.widget.ProblemTimingInfo
Constructs a new ProblemTimingInfo object and initializes variables.
ProcessContainer - Class in kawigi.util
I couldn't do local compiling and testing without this.
ProcessContainer(Process, ConsoleDisplay, ConsoleDisplay) - Constructor for class kawigi.util.ProcessContainer
Creates a new ProcessContainer for p that forwards its standard output/error streams into output.
ProcessContainer(Process, ConsoleDisplay, ConsoleDisplay, boolean) - Constructor for class kawigi.util.ProcessContainer
Creates a new ProcessContainer for p that forwards its standard output/error streams into output.
ProcessOutput - Class in kawigi.util
A threaded output listener for a process output stream (either stdout or stderr).
ProcessOutput(InputStream, ConsoleDisplay) - Constructor for class kawigi.util.ProcessOutput
Creates a new ProcessOutput that reads out into output.
propertyChange(PropertyChangeEvent) - Method in class kawigi.editor.LineNumbers
Listens for property changes on the text pane, specifically to its document (so I can become a DocumentListener on the new Document).
propertyChange(PropertyChangeEvent) - Method in class kawigi.widget.ActionLabel
Processes property changes from the action.
propertyChange(PropertyChangeEvent) - Method in class kawigi.widget.ActionSpinner
Processes property changes from the action.
propertyChange(PropertyChangeEvent) - Method in class kawigi.widget.ActionStateCheckBox
Add a couple more properties the normal listener won't take care of.
propertyChange(PropertyChangeEvent) - Method in class kawigi.widget.ActionStateRadioButton
Add a couple more properties the normal listener won't take care of.
propertyChange(PropertyChangeEvent) - Method in class kawigi.widget.ActionTextField
Processes property changes from the action.
propertyChange(PropertyChangeEvent) - Method in class kawigi.widget.ColorSwatchDropdown
Processes property changes from the action.
propertyChange(PropertyChangeEvent) - Method in class kawigi.widget.FontPanel
Processes property changes from the action.
propertyChange(PropertyChangeEvent) - Method in class kawigi.widget.HideableButton
Add one more property the Button's listener won't take care of.
putValue(String, Object) - Method in class kawigi.cmd.BooleanSettingAction
Stores a new value for the state of the property.
putValue(String, Object) - Method in class kawigi.cmd.ColorSettingAction
Overridden to set the correct setting if the COLOR property is changed.
putValue(String, Object) - Method in class kawigi.cmd.FindReplaceAction
Overridden to save the TEXT property from the text fields and the SELECTED property from the checkboxes and radio buttons.
putValue(String, Object) - Method in class kawigi.cmd.FontSettingAction
Overridden to properly set the FONT property.
putValue(String, Object) - Method in class kawigi.cmd.GlobalActionAdapter
Tries to set the value of a property on the current local version of this action.
putValue(String, Object) - Method in class kawigi.cmd.NumberSettingAction
Overridden to implement putting the SPINNER_VALUE property in the right place.
putValue(String, Object) - Method in class kawigi.cmd.SnippetAction
Overridden to properly save the TEXT property.
putValue(String, Object) - Method in class kawigi.cmd.TestCasesAction
Saving text for parameter value TextBox after changing.
putValue(String, Object) - Method in class kawigi.cmd.TextSettingAction
Overridden to properly save the TEXT property's value.

R

readdUndoListener() - Method in class kawigi.editor.CodePane
This has to be called whenever the Document changes.
readKeywords(String, boolean, Map<String, Color>) - Static method in class kawigi.editor.GenericView
Reads a keywords file and initializes the map to appropriately color those tokens.
redo() - Method in class kawigi.editor.CodePane
Redoes the last undone edit.
removeAllTests() - Method in class kawigi.problem.ClassDecl
Deletes all test cases.
removeBindings() - Method in class kawigi.editor.KawigiEditKeyMap
Clears the bindings in the keymap.
removeCutting(String) - Method in class kawigi.cmd.LocalTestAction
Removes from code all between "BEGIN CUT HERE" and "END CUT HERE".
removeKeyStrokeBinding(KeyStroke) - Method in class kawigi.editor.KawigiEditKeyMap
Clears a specific keystroke binding.
removeTest(int) - Method in class kawigi.problem.ClassDecl
Deletes the test case at the given index.
removeUpdate(DocumentEvent) - Method in class kawigi.editor.LineNumbers
Listens for changes on the Document in its associated text pane.
removeUpdate(DocumentEvent) - Method in class kawigi.widget.ActionTextField
Called when the text in the TextField changes.
reparseClassDecl() - Static method in class kawigi.problem.ClassDeclFactory
Parses problem statement and generates a ClassDecl once more from the same parameters as previously was generated in getClassDecl.
reparseClassDecl() - Method in interface kawigi.problem.ClassDeclGenerator
Parses problem statement and returns the ClassDecl from the same parameters as previously made in getClassDecl.
reparseClassDecl() - Method in class kawigi.problem.ProblemParser
Parsing text entered in the dialog earlier once more.
reparseClassDecl() - Method in class kawigi.problem.TCProblemConverter
Converting saved component and tclang into ClassDecl once more.
reportError(Throwable, boolean) - Method in class kawigi.cmd.DefaultAction
Prints a stack trace to the console and if it's not a warning, brings up an error dialog.
reportError(Throwable) - Static method in class kawigi.cmd.Dispatcher
Brings up a message dialog to notify the user about an error, and also prints the stack trace of the error.
reportError(Throwable, boolean) - Static method in class kawigi.cmd.UIHandler
Prints the stack trace of an error or warning and notifies the user with a dialog.
resetPrefs() - Method in class kawigi.editor.CodePane
Notifies the CodePane that preferences might have changed that affect it.
resetPrefs() - Static method in class kawigi.widget.ProblemTimer
Causes the animation delay and colors in the widget to be reset from the preferences.
resetTabStop() - Static method in class kawigi.editor.GenericView
Checks the property kawigi.editor.tabstop and sets the tabstop used in GenericView and derivatives to its value.
restoreTesting(String, ClassDecl, EditorLanguage) - Method in class kawigi.cmd.LocalTestAction
Parses the text between "BEGIN KAWIGIEDIT TESTING" and "END KAWIGIEDIT TESTING" into test cases, inserts this code into TestPane and inserts into the code tag <%:testing-code%>.
run() - Method in class kawigi.util.KillThread
Waits for a certain number of seconds and then kills the process if it is not yet finished.
run() - Method in class kawigi.util.ProcessOutput
Reads characters from the stream until it runs out of them.
run() - Method in class kawigi.widget.ProblemTimer
The method run by the update thread.
runCommand(ActID) - Method in class kawigi.cmd.Dispatcher
Launches an event on the given actid (i.e. - does what would happen if you clicked on the button or something like that)

S

save(boolean) - Static method in class kawigi.cmd.TemplateAction
Saves the current file.
saveLocal() - Method in class kawigi.cmd.LocalTestAction
Saves the current problem to the local test directory.
select(int, double) - Method in class kawigi.widget.ProblemTimer
Changes which problem is being looked at.
SELECTED - Static variable in class kawigi.cmd.DefaultAction
Boolean property of the state of a check box or something similar.
setAction(Action) - Method in class kawigi.widget.ActionLabel
Changes the action for the label.
setAction(Action) - Method in class kawigi.widget.ActionTextField
Changes the action for this field.
setAnswer(String) - Method in class kawigi.problem.Test
Changes the intended output for this test.
setBoolean(String, boolean) - Method in class kawigi.properties.AbstractPrefs
Sets a given property to a boolean value.
setBoolean(String, boolean) - Method in interface kawigi.properties.PrefProxy
Sets a property to a boolean value.
setBorderTitle(String) - Method in class kawigi.widget.GridPanel
 
setBorderTitle(String) - Method in class kawigi.widget.HorizontalPanel
Sets a new titled border around this panel with the given title.
setBorderTitle(String) - Method in class kawigi.widget.VerticalPanel
Sets a titled border around this panel with the given title.
setCategory(String) - Static method in class kawigi.cmd.SnippetContext
Sets the category from the snippet dialog.
setColor(String, Color) - Method in class kawigi.properties.AbstractPrefs
Sets the given property to the given Color value.
setColor(String, Color) - Method in interface kawigi.properties.PrefProxy
Sets a property to a Color value.
setColor(Color) - Method in class kawigi.widget.ColorSwatchDropdown
Sets the color of this dropdown and its swatch.
setColumns(String) - Method in class kawigi.widget.ActionTextField
 
setCompileComponent(SimpleOutputComponent) - Static method in class kawigi.cmd.Dispatcher
Sets the component that displays compile output.
setContestLength(int) - Method in class kawigi.widget.ProblemTimingInfo
Sets the length of the contest.
setCurrentClass(ClassDecl) - Static method in class kawigi.cmd.ProblemContext
Sets the current problem's class info.
setDefaultAction(Action) - Method in class kawigi.editor.KawigiEditKeyMap
Sets the default action.
setDouble(String, double) - Method in class kawigi.properties.AbstractPrefs
Sets the given property to the given double value.
setDouble(String, double) - Method in interface kawigi.properties.PrefProxy
Sets a property to a double-precision value.
setEditorPanel(EditorPanel) - Static method in class kawigi.cmd.Dispatcher
Sets the EditorPanel for the code editor.
setEnvironment(AppEnvironment) - Static method in enum kawigi.util.AppEnvironment
Sets the current application mode.
setFont(String, Font) - Method in class kawigi.properties.AbstractPrefs
Sets the given property to the given Font value.
setFont(String, Font) - Method in interface kawigi.properties.PrefProxy
Sets a property to a Font value.
setGridDimensions(String) - Method in class kawigi.widget.GridPanel
 
setInsertCode(String) - Static method in class kawigi.cmd.SnippetContext
Sets the code that should be inserted by actInsertSnippet.
setInt(String, int) - Method in class kawigi.properties.AbstractPrefs
Sets the given property to the given integer value.
setInt(String, int) - Method in interface kawigi.properties.PrefProxy
Sets a property to an integer value.
setLanguage(EditorLanguage) - Static method in class kawigi.cmd.ProblemContext
Sets the current language that is being used.
setLocalCodeEditorPanel(EditorPanel) - Static method in class kawigi.cmd.Dispatcher
Sets the EditorPanel for the Local Code tab.
setName(String) - Method in class kawigi.KawigiEdit
Sets the name given to this plugin.
setName(String) - Method in class kawigi.widget.Category
Sets the name (and text) of this category.
setName(String) - Method in class kawigi.widget.Snippet
Sets the name (and label) of this snippet.
setOutputComponent(SimpleOutputComponent) - Static method in class kawigi.cmd.Dispatcher
Sets the component that displays stuff printed from test runs.
setProblemComponent(ProblemComponentModel, Language, Renderer) - Method in class kawigi.KawigiEdit
Notifies the editor of a new problem being opened, or the language being changed, or whatever.
setProblemTimer(ProblemTimer) - Static method in class kawigi.cmd.Dispatcher
Sets the problem timer control that's normally on the left side of the window.
setProperty(String, String) - Method in class kawigi.properties.ChainedPrefs
Locally sets the value of a property.
setProperty(String, String) - Method in interface kawigi.properties.PrefProxy
Sets a property to a String value.
setProperty(String, String) - Method in class kawigi.properties.StandAlonePrefs
Sets a property to the given string value.
setProperty(String, String) - Method in class kawigi.properties.TCPrefs
Sets the value of a property to a String value.
setReplacement(String) - Method in class kawigi.cmd.FindReplaceContext
Sets the current replacement string.
setResolveParent(Keymap) - Method in class kawigi.editor.KawigiEditKeyMap
Sets the parent keymap.
setSearchString(String) - Method in class kawigi.cmd.FindReplaceContext
Sets the current search string.
setSelected(Color) - Method in class kawigi.widget.ColorSwatch
Sets the selected color value on this swatch.
setSnippetName(String) - Static method in class kawigi.cmd.SnippetContext
Sets the snippet name from the snippet dialog.
setSource(String) - Method in class kawigi.KawigiEdit
Sets the text in the editor.
setTabbedPane(JTabbedPane) - Static method in class kawigi.cmd.Dispatcher
Sets the JTabbedPane that all the major stuff is on.
setTemplateEditor(EditorPanel) - Static method in class kawigi.cmd.Dispatcher
Sets the EditorPanel for the template editor.
setTest(int, Test) - Method in class kawigi.problem.ClassDecl
Changes the test case at the given index.
setTestEditorPanel(EditorPanel) - Static method in class kawigi.cmd.Dispatcher
Sets the EditorPanel for the Testing Code editor.
setTextEnabled(Boolean) - Method in class kawigi.KawigiEdit
Enables/disables the text pane.
SettingAction - Class in kawigi.cmd
Action implementation for setting actions.
SettingAction(ActID) - Constructor for class kawigi.cmd.SettingAction
Constructs a new SettingAction for the given ActID.
setUseLiteral() - Method in class kawigi.cmd.FindReplaceContext
Sets the search mode to literal string matching.
setUseRegex() - Method in class kawigi.cmd.FindReplaceContext
Sets the search mode to regular expressions.
setUseWildcards() - Method in class kawigi.cmd.FindReplaceContext
Sets the search mode to use wildcards.
setViewClass(Class) - Method in class kawigi.editor.ConfigurableEditorKit
Sets the class used to create Views for this EditorKit.
setViewClass(Class) - Method in class kawigi.editor.ObedientViewFactory
Sets the class of the View implementation to be used.
setVisible(boolean) - Method in class kawigi.cmd.DefaultAction
Sets the visibility property.
setWindow(JFrame) - Static method in class kawigi.cmd.Dispatcher
Sets the main window KawigiEdit is on.
setWithAnswer(boolean) - Method in class kawigi.problem.Test
Changes the necessarity of the answer.
setWorkingDirectory(File) - Method in class kawigi.properties.AbstractPrefs
Sets the "kawigi.localpath" property to the path of the given directory.
setWorkingDirectory(File) - Method in interface kawigi.properties.PrefProxy
Sets the directory that should be used locally by KawigiEdit.
showing(boolean) - Method in class kawigi.cmd.FindReplaceContext
Gets the Find/Replace dialog and shows it.
SimpleOutputComponent - Class in kawigi.widget
The default display component for compile and program output in processes started by KawigiEdit.
SimpleOutputComponent() - Constructor for class kawigi.widget.SimpleOutputComponent
Constructs a new SimpleOutputComponent.
Skeleton - Class in kawigi.problem
Represents the combination of a String of source code and a location for the caret to be set.
Skeleton(String, int) - Constructor for class kawigi.problem.Skeleton
Creates a new Skeleton object with the given parameters for the code and caret location.
Snippet - Class in kawigi.widget
This represents a Snippet menu item.
Snippet() - Constructor for class kawigi.widget.Snippet
Default constructor for a snippet.
Snippet(String, String) - Constructor for class kawigi.widget.Snippet
Constructs a new snippet with the given code and name.
SnippetAction - Class in kawigi.cmd
This class executes all snippet-related commands, including using a snippet, launching the snippet dialog and all the controls on the snippet dialog.
SnippetAction(ActID, CodePane) - Constructor for class kawigi.cmd.SnippetAction
Constructs a new SnippetAction for the given ActID to act on the given CodePane.
SnippetContext - Class in kawigi.cmd
A set of global values to store the state of snippets.
SnippetContext() - Constructor for class kawigi.cmd.SnippetContext
 
SPINNER_MODEL - Static variable in class kawigi.cmd.DefaultAction
SpinnerModel property (provides an object that implements SpinnerModel)
SPINNER_VALUE - Static variable in class kawigi.cmd.DefaultAction
Value of a spinner - the type depends on the SpinnerModel implementation
StandAlonePrefs - Class in kawigi.properties
Preferences implementation for standalone, which uses Java's Properties class to store, load, and save preferences See the notes in the AbstractPrefs class for sematics of how this works.
StandAlonePrefs(File) - Constructor for class kawigi.properties.StandAlonePrefs
Constructs a new StandAlonePrefs object which reads preferences from the given file if possible.
StandaloneWindowListener - Class in kawigi.cmd
WindowListener implementation for KawigiEditStandalone.
StandaloneWindowListener() - Constructor for class kawigi.cmd.StandaloneWindowListener
 
start() - Method in class kawigi.util.ProcessContainer
Starts the threads that listen to the output and error streams of the process.
start() - Method in class kawigi.util.ProcessOutput
Starts the thread.
start() - Method in class kawigi.widget.ProblemTimer
Starts the update thread and figures out the size of the timer widget.
startDocument() - Method in class kawigi.cmd.UIHandler
Called when we begin parsing the GUI XML.
startElement(String, String, String, Attributes) - Method in class kawigi.cmd.UIHandler
Called when a start XML tag is encountered.
startUsing() - Method in class kawigi.KawigiEdit
Clears the text pane for a new problem.
stateChanged(ChangeEvent) - Method in class kawigi.widget.ActionSpinner
Notifies the Action that the user has changed the value of this Spinner.
stateChanged(ChangeEvent) - Method in class kawigi.widget.FontPanel
Notifies us that the value has changed on the Font size spinner.
stop() - Method in class kawigi.widget.ProblemTimer
Kills the timer thread.
stopUsing() - Method in class kawigi.KawigiEdit
Doesn't do anything.
stringColor - Static variable in class kawigi.editor.GenericView
Colors for various token types.
swatch - Variable in class kawigi.widget.ColorSwatchDropdown
ColorSwatch grid to go on the menu.

T

tagColor - Static variable in class kawigi.editor.GenericView
Colors for various token types.
TCPrefs - Class in kawigi.properties
Preferences implementation for plugin mode, where the preference values are stored in TopCoder's LocalPreferences.
TCPrefs() - Constructor for class kawigi.properties.TCPrefs
Constructs a TCPrefs object and gets TopCoder's preferences.
TCProblemConverter - Class in kawigi.problem
This is perhaps one of the most important source files in KawigiEdit, because it converts TopCoder's problem statements into a format that allows KawigiEdit to generate skeleton and test code in plugin mode.
TCProblemConverter() - Constructor for class kawigi.problem.TCProblemConverter
 
TemplateAction - Class in kawigi.cmd
Action implementation for Template editor actions.
TemplateAction(ActID) - Constructor for class kawigi.cmd.TemplateAction
Constructs a new TemplateAction for the given ActID.
TemplateGenerator - Class in kawigi.problem
This is the class that converts a ClassDecl and language into skeleton code from a template.
TemplateGenerator() - Constructor for class kawigi.problem.TemplateGenerator
 
tempPrefs - Static variable in class kawigi.cmd.SettingAction
Temporary storage for settings until the settings dialog is committed.
Test - Class in kawigi.problem
Represents a test case.
Test(String[]) - Constructor for class kawigi.problem.Test
Constructs a new Test with the given parameters without answer checking.
Test(String, String[]) - Constructor for class kawigi.problem.Test
Constructs a new Test with the given answer and parameters.
testCase - Static variable in class kawigi.cmd.TestCasesAction
Test case edited at nowtime.
TestCasesAction - Class in kawigi.cmd
Implementation of all actions for editing test cases.
TestCasesAction(ActID) - Constructor for class kawigi.cmd.TestCasesAction
Constructs a new TestCasesAction for the given ActID.
TestCasesAction(ActID, ActionTextField) - Constructor for class kawigi.cmd.TestCasesAction
Constructs a new TestCasesAction for the given ActID and given TextField.
TestCasesAction(ActID, JButton) - Constructor for class kawigi.cmd.TestCasesAction
Constructs a new TestCasesAction for the given ActID and given Button.
TestGenerator - Interface in kawigi.language
Interface implemented for each language to generate testing code.
TEXT - Static variable in class kawigi.cmd.DefaultAction
String property to override the text of a text box.
textChanged() - Method in class kawigi.cmd.TestCasesAction
Changes text in TextBox (array comma-separated) after editing TextArea (array one-element-in-line).
textChanged() - Method in class kawigi.widget.ActionTextField
Officially changes the TEXT property of the action.
TextSettingAction - Class in kawigi.cmd
Setting action implementation for string settings.
TextSettingAction(ActID) - Constructor for class kawigi.cmd.TextSettingAction
Constructs a new TextSettingAction for the given ActID.
thisField - Variable in class kawigi.cmd.TestCasesAction
TextBox or Button in dialog for editing single test case for which this action was created.
toArray(EditorDataType, String) - Method in class kawigi.language.CPPTestGenerator
Declares an array of the same type as a vector.
toggleCaseSensitive() - Method in class kawigi.cmd.FindReplaceContext
Toggles the "Case Sensitive" option.
toggleWholeWord() - Method in class kawigi.cmd.FindReplaceContext
Toggles the "Whole Word" option.
toJavaTest(Test, EditorDataType[], String) - Method in class kawigi.language.JavaTestGenerator
Quick utility function to provide the code that should return the answer.
tooltip - Variable in enum kawigi.cmd.ActID
 
toString() - Method in class kawigi.widget.Category
Returns a string representation of this category for debugging.
toString() - Method in class kawigi.widget.Snippet
Returns the code associated with this snippet.
toTest(Test, EditorDataType[]) - Method in class kawigi.language.CSharpTestGenerator
Quick utility function to provide the code that should return the answer.
toTest(String[], EditorDataType[]) - Method in class kawigi.language.VBTestGenerator
Quick utility function to provide the code that should return the parameter list for the function.
translateObject(EditorDataType, String) - Static method in class kawigi.language.CSharpTestGenerator
Quck utility function to convert a value to code that creates that value in C#.
translateObject(EditorDataType, String) - Method in class kawigi.language.JavaTestGenerator
Quck utility function to convert a value to code that creates that value in Java.
translateObject(EditorDataType, String) - Static method in class kawigi.language.VBTestGenerator
Quck utility function to convert a string value from TC to code that creates that value in VB.
typeColor - Static variable in class kawigi.editor.GenericView
Colors for various token types.

U

UIHandler - Class in kawigi.cmd
This class loads UI constructs from XML.
UIHandler(Dispatcher) - Constructor for class kawigi.cmd.UIHandler
Constructs a new UIHandler to handle an XML GUI specification and create actions using the given Dispatcher.
UIRefresh() - Method in class kawigi.cmd.DefaultAction
Refreshes the values of all properties.
UIRefresh() - Method in class kawigi.cmd.Dispatcher
Refreshes the settings of all currently mapped actions on this dispatcher.
undo() - Method in class kawigi.editor.CodePane
Undoes the last edit.
unfixLiteral(String, EditorDataType) - Method in enum kawigi.language.EditorLanguage
Makes some value taken from the code suitable for internal use.
updateArrayLabel(int) - Method in class kawigi.cmd.TestCasesAction
Changes the label text when number of elements in the array changed.
updateButtonState(String) - Method in class kawigi.cmd.TestCasesAction
Changes text on the button for array parameter ("create" array if it's empty or "modify" if not).
updateDamage(DocumentEvent, Shape, ViewFactory) - Method in class kawigi.editor.GenericView
NOTHING BUT A HACK (and a weird, dirty one at that).
updatePrefs() - Method in class kawigi.widget.SimpleOutputComponent
Updates colors and fonts from the preferences.
useLiteral() - Method in class kawigi.cmd.FindReplaceContext
Returns true if literal string matching should be used.
useRegex() - Method in class kawigi.cmd.FindReplaceContext
Returns true if regular expression matching should be used.
useWildcards() - Method in class kawigi.cmd.FindReplaceContext
Returns true if wildcard matching should be used.

V

valueOf(String) - Static method in enum kawigi.cmd.ActID
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum kawigi.cmd.MenuID
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum kawigi.language.EditorDataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum kawigi.language.EditorLanguage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum kawigi.util.AppEnvironment
Returns the enum constant of this type with the specified name.
values() - Static method in enum kawigi.cmd.ActID
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum kawigi.cmd.MenuID
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum kawigi.language.EditorDataType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum kawigi.language.EditorLanguage
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum kawigi.util.AppEnvironment
Returns an array containing the constants of this enum type, in the order they're declared.
VBTestGenerator - Class in kawigi.language
 
VBTestGenerator() - Constructor for class kawigi.language.VBTestGenerator
 
VBView - Class in kawigi.editor
Implementation of a Visual Basic implementation of a View that hilights syntax attributes.
VBView(Element) - Constructor for class kawigi.editor.VBView
Creates an instance of VBView and passes along the Element.
VERSION - Static variable in enum kawigi.util.AppEnvironment
The current KawigiEdit version.
VerticalPanel - Class in kawigi.widget
A JPanel with a vertical BoxLayout applied.
VerticalPanel() - Constructor for class kawigi.widget.VerticalPanel
Constructs a new VerticalPanel and sets its layout.
viewClass - Variable in class kawigi.editor.ConfigurableEditorKit
The Class of View components for this EditorKit.
viewClass - Variable in class kawigi.editor.ObedientViewFactory
Class from which Views are made in this ViewFactory.
VISIBLE - Static variable in class kawigi.cmd.DefaultAction
Boolean visibility property to show or hide controls.
visible - Variable in class kawigi.cmd.DefaultAction
Visibility state
visibleSet - Variable in class kawigi.cmd.DefaultAction
Last set value for visible property.

W

waitFor() - Method in class kawigi.util.ProcessContainer
Finishes and stores the exit value for the process.
warning(SAXParseException) - Method in class kawigi.cmd.UIHandler
Notifies us of any recoverable warning encountered in parsing.
windowActivated(WindowEvent) - Method in class kawigi.cmd.StandaloneWindowListener
Empty.
windowClosed(WindowEvent) - Method in class kawigi.cmd.StandaloneWindowListener
Empty.
windowClosing(WindowEvent) - Method in class kawigi.cmd.StandaloneWindowListener
Commits preferences, disposes the window, and exits the program.
windowDeactivated(WindowEvent) - Method in class kawigi.cmd.StandaloneWindowListener
Empty.
windowDeiconified(WindowEvent) - Method in class kawigi.cmd.StandaloneWindowListener
Empty.
windowIconified(WindowEvent) - Method in class kawigi.cmd.StandaloneWindowListener
Empty.
windowOpened(WindowEvent) - Method in class kawigi.cmd.StandaloneWindowListener
Empty.
write(PrintWriter, String) - Method in class kawigi.widget.Category
Writes this category and its children as .ui XML to the given PrintWriter.
write(PrintWriter, String) - Method in class kawigi.widget.Snippet
Writes the .ui XML for this snippet to out.

A B C D E F G H I J K L M N O P R S T U V W