|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
de.fhg.igd.semoa.starter.AbstractConverterPanel
de.fhg.igd.semoa.starter.InputField
de.fhg.igd.semoa.starter.InputFileChooser
de.fhg.igd.semoa.starter.JavaClassPathChooser
This component allows users to select a JavaClassPath.
This can be accomplished by either directly using the component's text
input field or by means of the provided file browser.
| Nested Class Summary |
| Nested classes inherited from class de.fhg.igd.semoa.starter.InputFileChooser |
InputFileChooser.BrowseButton |
| Nested classes inherited from class de.fhg.igd.semoa.starter.InputField |
InputField.ParameterTextField |
| Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
static Class |
PARAMETER_CLASS
The type of the Parameter provided by this chooser |
| Fields inherited from class de.fhg.igd.semoa.starter.InputFileChooser |
browseButton_, chooserBase_, fileFilters_, selectionMode_ |
| Fields inherited from class de.fhg.igd.semoa.starter.InputField |
border_, textField_ |
| Fields inherited from class de.fhg.igd.semoa.starter.AbstractConverterPanel |
changeListeners_, required_, status_ |
| Fields inherited from class javax.swing.JPanel |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
JavaClassPathChooser(boolean required)
Create a JavaClassPathChooser. |
|
| Method Summary | |
protected Parameter |
convert(String userInput)
Convert the given user input into an appropriate Parameter. |
String |
formatDroppedFileList(List files)
Format the list of dropped File entries, so it can
be applied later. |
protected String |
getBrowseButtonHelp()
Get the help text that will be displayed as tooltip when the mouse hovers over the browse button if help is enabled. |
protected String |
getStatusHelp()
Get the help text for this panel associated with the current status. |
protected String |
getTextFieldHelp()
Get the help text that will be displayed as tooltip when the mouse hovers over the text input field if help is enabled. |
protected void |
processChoice(String choice)
Concatenates the path element chosen by means of the file browser to the textfield content using the system path separator. |
void |
stateChanged(ChangeEvent e)
|
| Methods inherited from class de.fhg.igd.semoa.starter.InputFileChooser |
actionPerformed, build, setChooserBase, setEnabled, setFileFilters, setHelpEnabled, setSelectionMode |
| Methods inherited from class de.fhg.igd.semoa.starter.InputField |
applyFailure, applyParameter, applyStatus, init, requestParameter |
| Methods inherited from class de.fhg.igd.semoa.starter.AbstractConverterPanel |
addChangeListener, applyDroppedUserInput, applyUserInput, fireStateChanged, getStatus, parameterChangeCommitted, parameterChangeFailed, parameterChangePending, reconfirmParameter, removeChangeListener, setStatus |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.fhg.igd.semoa.starter.ConverterPanel |
isEnabled |
| Field Detail |
public static final Class PARAMETER_CLASS
Parameter provided by this chooser
| Constructor Detail |
public JavaClassPathChooser(boolean required)
JavaClassPathChooser.
| Method Detail |
public String formatDroppedFileList(List files)
DropDataHandlerFile entries, so it can
be applied later.
files - The File list
protected void processChoice(String choice)
processChoice in class InputFileChooserchoice - The choice to be processedprotected String getTextFieldHelp()
InputField
getTextFieldHelp in class InputFieldprotected String getBrowseButtonHelp()
InputFileChooser
getBrowseButtonHelp in class InputFileChooserprotected String getStatusHelp()
AbstractConverterPanel
getStatusHelp in class AbstractConverterPanel
protected Parameter convert(String userInput)
throws ConverterException
AbstractConverterPanelParameter.
convert in class AbstractConverterPaneluserInput - The user input to be converted
Parameter object
ConverterException - if the user input cannot be convertedpublic void stateChanged(ChangeEvent e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||