|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
koala.dynamicjava.gui.OptionsDialog
The 'options' dialog
Nested Class Summary | |
protected class |
OptionsDialog.CancelButtonAction
The action associated with the 'Cancel' button |
protected class |
OptionsDialog.CPLAddButtonAction
The action associated with the 'add' button of the class path panel |
protected class |
OptionsDialog.GUIPanel
The GUI option panel |
protected class |
OptionsDialog.InterpreterPanel
The interpreter option panel |
protected class |
OptionsDialog.LPLAddButtonAction
The action associated with the 'add' button of the library path panel |
protected class |
OptionsDialog.OKButtonAction
The action associated with the 'OK' button |
static class |
OptionsDialog.OptionSet
To save the options |
protected class |
OptionsDialog.UCOKButtonAction
The action associated with the 'OK' button of the URL chooser |
Nested classes inherited from class javax.swing.JDialog |
javax.swing.JDialog.AccessibleJDialog |
Nested classes inherited from class java.awt.Dialog |
java.awt.Dialog.AccessibleAWTDialog |
Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
protected static java.util.ResourceBundle |
bundle
The resource bundle |
protected java.lang.String[] |
classes
The class path list content when the dialog is shown |
protected StringList |
classPathList
The classpath list |
protected OptionsDialog.GUIPanel |
guiPanel
The GUI panel |
protected OptionsDialog.InterpreterPanel |
interpreterPanel
The interpreter panel |
protected java.lang.String[] |
libraries
The library path list content when the dialog is shown |
protected StringList |
libraryPathList
The library path list |
protected java.util.Map |
listeners
The map that contains the listeners |
protected Main |
mainFrame
The main frame |
protected static java.lang.String |
RESOURCE
The resource file name |
protected static ResourceManager |
rManager
The resource manager |
protected URLChooser |
urlChooser
The URL chooser |
Fields inherited from class javax.swing.JDialog |
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
OptionsDialog(Main owner)
Creates a new dialog |
Method Summary | |
protected javax.swing.JPanel |
createButtonsPanel()
Creates the buttons panel |
protected javax.swing.JPanel |
createClassPathPanel()
Creates the classpath panel |
protected javax.swing.JPanel |
createGeneralPanel()
Creates the general panel |
protected javax.swing.JPanel |
createLibraryPathPanel()
Creates the library path panel |
protected javax.swing.JPanel |
createPathPanel()
Creates the path panel |
protected javax.swing.JTabbedPane |
createTabbedPane()
Creates the tabbed pane |
javax.swing.Action |
getAction(java.lang.String key)
Returns the action associated with the given string or null on error |
java.lang.String[] |
getClassPath()
Returns the classpaths |
java.lang.String |
getGUIName()
Returns the GUI name |
java.lang.String |
getInitializationFilename()
The initialization file name |
java.lang.String |
getInterpreterName()
Returns the interpreter name |
java.lang.String[] |
getLibraryPath()
Returns the library paths |
OptionsDialog.OptionSet |
getOptions()
Returns an object that holds the current options |
java.lang.String |
getStartupInitializationFilename()
The startup initialization file name |
boolean |
isErrorSelected()
Has the standard error to be redirected? |
boolean |
isGUIDefined()
Has the GUI to be defined? |
boolean |
isInitializationSelected()
Is the initialization file option selected? |
boolean |
isInterpreterDefined()
Has the interpreter to be defined? |
boolean |
isOutputSelected()
Has the output to be redirected? |
boolean |
isStartupInitializationSelected()
Is the startup initialization file option selected? |
protected static void |
setConstraintsCoords(java.awt.GridBagConstraints constraints,
int x,
int y,
int width,
int height)
|
void |
setOptions(OptionsDialog.OptionSet optionSet)
Sets the options according to the given option set |
Methods inherited from class javax.swing.JDialog |
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.awt.Dialog |
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.awt.Window |
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final java.lang.String RESOURCE
protected static java.util.ResourceBundle bundle
protected static ResourceManager rManager
protected StringList classPathList
protected StringList libraryPathList
protected URLChooser urlChooser
protected java.lang.String[] classes
protected java.lang.String[] libraries
protected Main mainFrame
protected OptionsDialog.InterpreterPanel interpreterPanel
protected OptionsDialog.GUIPanel guiPanel
protected java.util.Map listeners
Constructor Detail |
public OptionsDialog(Main owner)
owner
- the owner of this dialogMethod Detail |
public javax.swing.Action getAction(java.lang.String key) throws MissingListenerException
getAction
in interface ActionMap
key
- the key mapped with the action to get
MissingListenerException
- if the action is not foundpublic java.lang.String[] getClassPath()
public java.lang.String[] getLibraryPath()
public java.lang.String getInterpreterName()
public boolean isInterpreterDefined()
public boolean isInitializationSelected()
public java.lang.String getInitializationFilename()
public java.lang.String getGUIName()
public boolean isGUIDefined()
public boolean isOutputSelected()
public boolean isErrorSelected()
public boolean isStartupInitializationSelected()
public java.lang.String getStartupInitializationFilename()
public OptionsDialog.OptionSet getOptions()
public void setOptions(OptionsDialog.OptionSet optionSet)
protected javax.swing.JTabbedPane createTabbedPane()
protected javax.swing.JPanel createGeneralPanel()
protected javax.swing.JPanel createPathPanel()
protected javax.swing.JPanel createClassPathPanel()
protected javax.swing.JPanel createLibraryPathPanel()
protected javax.swing.JPanel createButtonsPanel()
protected static void setConstraintsCoords(java.awt.GridBagConstraints constraints, int x, int y, int width, int height)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |