|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjigcell.compare.ui.CustomizableInterface
jigcell.compare.transformui.TransformInterface
jigcell.compare.transformui.FileInterface
public class FileInterface
Interface for a FileTransform.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Field Summary | |
|---|---|
protected static java.lang.String |
BUTTON_BROWSE
Button label for browse |
protected javax.swing.text.Document |
filenameDocument
Name selection document |
protected static SuffixFileFilter |
FILTER_GENERATOR
File filter for data generator files |
protected FileTransform |
generator
Generator |
protected static java.lang.String |
LABEL_FILENAME
Label for file name |
protected static java.lang.String |
MESSAGE_ERROR
General error message for unexpected exception |
| Fields inherited from class jigcell.compare.transformui.TransformInterface |
|---|
constraints, layout, MENUITEM_DELETE, MENUITEM_INSERTAFTER, MENUITEM_INSERTBEFORE, oldPrevious |
| Fields inherited from class jigcell.compare.ui.CustomizableInterface |
|---|
customizers, DESCRIPTION_INPUT, DESCRIPTION_OUTPUT, LOCK_CUSTOMIZERS, manager, menuManager, multipleViewSupport, PATH_DESCRIPTION_INPUT, PATH_DESCRIPTION_OUTPUT, PATH_HELP, popup, POPUP_DEFAULT, PROPERTY_CUSTOMIZERNAME |
| Fields inherited from interface jigcell.compare.ICustomizableInterface |
|---|
DIMENSION_HELP, OPTION_INPUTDESCRIPTION, OPTION_OUTPUTDESCRIPTION |
| Constructor Summary | |
|---|---|
FileInterface(IProgrammableDataGenerator generator)
Creates a new interface for a FileTransform. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
protected javax.swing.JComponent |
createCustomizer()
Generates a new customizer for the generator. |
protected javax.swing.JFileChooser |
createFileChooser()
A file chooser specialized for the view. |
void |
updateInterface(java.lang.String propertyName)
Updates customizers based on the generator state. |
| Methods inherited from class jigcell.compare.transformui.TransformInterface |
|---|
createCustomizer, createPopup, destroyCustomizer, hasMultipleViewSupport |
| Methods inherited from class jigcell.compare.ui.CustomizableInterface |
|---|
decorateCustomizer, getCompare, getInputDescription, getOutputDescription, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, setInputDescription, setMultipleViewSupport, setOutputDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String BUTTON_BROWSE
protected static final java.lang.String LABEL_FILENAME
protected static final java.lang.String MESSAGE_ERROR
protected static final SuffixFileFilter FILTER_GENERATOR
protected javax.swing.text.Document filenameDocument
protected FileTransform generator
| Constructor Detail |
|---|
public FileInterface(IProgrammableDataGenerator generator)
generator - Generator| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class TransformInterfacepublic void updateInterface(java.lang.String propertyName)
updateInterface in interface ICustomizableInterfaceupdateInterface in class TransformInterfacepropertyName - Name of the property that changed or null to indicate that all properties may have changedprotected javax.swing.JComponent createCustomizer()
createCustomizer in class CustomizableInterfaceprotected javax.swing.JFileChooser createFileChooser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||