|
||||||||||
| 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
public abstract class TransformInterface
Generic customizable interface for a transform.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Field Summary | |
|---|---|
protected java.awt.GridBagConstraints |
constraints
Constraints for layout |
protected Transform |
generator
Generator |
protected java.awt.GridBagLayout |
layout
Layout for this transform |
protected static java.lang.String |
MENUITEM_DELETE
Delete menu item label |
protected static java.lang.String |
MENUITEM_INSERTAFTER
Insert after menu item label |
protected static java.lang.String |
MENUITEM_INSERTBEFORE
Insert before menu item label |
protected ITransform |
oldPrevious
Old previous statement for the generator |
| 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 | |
|---|---|
TransformInterface(IProgrammableDataGenerator generator)
Creates a new interface for a transform. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
javax.swing.JComponent |
createCustomizer(java.lang.String name)
A customization component for a generator. |
protected javax.swing.JPopupMenu |
createPopup()
/** Creates a context menu for the view. |
void |
destroyCustomizer(java.lang.String name)
Destroys a customization component created by this interface. |
boolean |
hasMultipleViewSupport()
Whether this interface supports multiple, simultaneous views. |
private void |
setCustomizerComponents(java.awt.Container outerCustomizer,
javax.swing.JComponent customizer,
ITransform previous)
Lays out the customizers for a transform. |
void |
updateInterface(java.lang.String propertyName)
Updates customizers based on the generator state. |
| Methods inherited from class jigcell.compare.ui.CustomizableInterface |
|---|
createCustomizer, 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 MENUITEM_DELETE
protected static final java.lang.String MENUITEM_INSERTAFTER
protected static final java.lang.String MENUITEM_INSERTBEFORE
protected transient java.awt.GridBagConstraints constraints
protected transient java.awt.GridBagLayout layout
protected ITransform oldPrevious
protected Transform generator
| Constructor Detail |
|---|
public TransformInterface(IProgrammableDataGenerator generator)
generator - Generator| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic javax.swing.JComponent createCustomizer(java.lang.String name)
createCustomizer in interface ICustomizableInterfacecreateCustomizer in class CustomizableInterfacename - Identifying name for the customizer. Each unique expected usage of a customizer should have a distinct name.public void destroyCustomizer(java.lang.String name)
destroyCustomizer in interface ICustomizableInterfacedestroyCustomizer in class CustomizableInterfacename - Identifying name for the customizerpublic boolean hasMultipleViewSupport()
hasMultipleViewSupport in interface ICustomizableInterfacehasMultipleViewSupport in class CustomizableInterfacepublic void updateInterface(java.lang.String propertyName)
updateInterface in interface ICustomizableInterfaceupdateInterface in class CustomizableInterfacepropertyName - Name of the property that changed or null to indicate that all properties may have changedprotected javax.swing.JPopupMenu createPopup()
createPopup in class CustomizableInterface
private void setCustomizerComponents(java.awt.Container outerCustomizer,
javax.swing.JComponent customizer,
ITransform previous)
outerCustomizer - Container customizer for this transformcustomizer - Customizer component for this transformprevious - Previous transform
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||