|
||||||||||
| 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
jigcell.compare.ui.PanelTab
jigcell.compare.ui.DataEditorPanelTab
jigcell.compare.views.ProgrammableDataGeneratorEditor
jigcell.compare.views.TransformEditor
public class TransformEditor
Supports creating and editing transform functions.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jigcell.compare.views.ProgrammableDataGeneratorEditor |
|---|
ProgrammableDataGeneratorEditor.SetReadHelper |
| Nested classes/interfaces inherited from class jigcell.compare.ui.DataEditorPanelTab |
|---|
DataEditorPanelTab.ReadHelper |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
javax.swing.JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static java.lang.String |
CONFIG_TRANSFORMS
Property key for available transform primitives |
protected static SuffixFileFilter |
FILTER_TRANSFORMCATALOG
File filter for transform catalog files |
protected static SuffixFileFilter |
FILTER_TRANSFORMSET
File filter for transform files |
protected static java.lang.String |
LABEL_TRANSFORM
Transform name label |
| Fields inherited from class jigcell.compare.views.ProgrammableDataGeneratorEditor |
|---|
BUTTON_ADD, customizer, localNames, localObjects, NAME_CUSTOMIZERS, names, objectModel, objects, primitives, propertyKey, resourceKey, TITLE_NAMEPOPUP |
| Fields inherited from class jigcell.compare.ui.DataEditorPanelTab |
|---|
CONFIG_RECENTSOURCE, CONFIG_RECENTSOURCECOUNT, exception, manager, MENU_OPENRECENT, MENUBAR_DEFAULT, menuManager, menus, MESSAGE_LOADERROR, MESSAGE_LOADING, MESSAGE_SAVEERROR, OPTION_CHOOSEROPEN, OPTION_CHOOSERSAVE, PROPERTY_RECENTSOURCETARGET, READ_LOCK, recentReadablesMenu, TOOLBAR_DEFAULT |
| Fields inherited from class jigcell.compare.ui.PanelTab |
|---|
compare, configMarkers, PATH_ABOUT, PATH_DESCRIPTION_ABOUT, tabName |
| 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.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface jigcell.compare.ITab |
|---|
CONFIG_TABNAME, STATE_ENDINITIALIZE, STATE_ENDUI, STATE_INITIALIZE, STATE_RUNNING, STATES |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
TransformEditor(Compare compare,
java.lang.String configMarker)
Creates a new editor for working with transforms. |
|
| Method Summary | |
|---|---|
void |
add(java.lang.String name)
Adds a new object. |
protected void |
cleanup(IProgrammableDataGenerator object)
Performs any necessary cleanup operations on an object before it's removed from the view. |
IConfigEditor |
createConfigEditor()
Creates a configuration editor for this tab or null if this tab does not support graphical configuration. |
protected javax.swing.JFileChooser |
createFileChooser()
A file chooser specialized for the view. |
protected javax.swing.JFileChooser |
createFileChooserSet()
A file chooser specialized for the view. |
protected void |
createUI()
Creates an interface for the view. |
void |
duplicate(java.lang.String name)
Duplicates the currently selected object. |
protected void |
initialize()
Performs any initialization work for the view. |
void |
itemStateChanged(java.awt.event.ItemEvent e)
|
void |
readConfiguration(java.lang.String state)
Reads the view configuration from the Comparator. |
protected void |
updateList()
Updates the internal list of objects to match the master list. |
protected void |
updateTransformSelection()
Updates the internal transform selection to match the selection in the view. |
| Methods inherited from class jigcell.compare.views.ProgrammableDataGeneratorEditor |
|---|
actionPerformed, add, add, clear, clearAndNew, createObjects, createPrimitiveList, delete, duplicate, indexNames, loadSet, loadSetDirect, promptForName, propertyChange, readInternal, readInternalSet, readNotify, rename, setCurrentSource, setCustomizerView, updateNames, write |
| Methods inherited from class jigcell.compare.ui.DataEditorPanelTab |
|---|
addRecentSource, createMenus, createReadableRecentSourceMenuItems, createTools, getCurrentSource, getRecentSource, getRecentSourceCount, load, loadDirect, loadRecentSource, save, saveDirect |
| Methods inherited from class jigcell.compare.ui.PanelTab |
|---|
createAboutDialog, createAboutDialogForTab, getCompare, getConfigForView, getConfigMarkers, getHostIdentifier, getName |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jigcell.compare.ui.IDataEditorTab |
|---|
getCurrentSource, load, loadDirect, save, saveDirect |
| Methods inherited from interface jigcell.compare.ITab |
|---|
createAboutDialog, getName |
| Field Detail |
|---|
public static final java.lang.String CONFIG_TRANSFORMS
protected static final java.lang.String LABEL_TRANSFORM
protected static final SuffixFileFilter FILTER_TRANSFORMSET
protected static final SuffixFileFilter FILTER_TRANSFORMCATALOG
| Constructor Detail |
|---|
public TransformEditor(Compare compare,
java.lang.String configMarker)
compare - Comparator backend to interface withconfigMarker - Marker for retrieving configuration information from Comparator backend| Method Detail |
|---|
public void add(java.lang.String name)
add in class ProgrammableDataGeneratorEditorname - Name of objectpublic IConfigEditor createConfigEditor()
createConfigEditor in interface ITabcreateConfigEditor in class PanelTabpublic void duplicate(java.lang.String name)
duplicate in class ProgrammableDataGeneratorEditorname - Name of new objectpublic void itemStateChanged(java.awt.event.ItemEvent e)
public void readConfiguration(java.lang.String state)
readConfiguration in interface ITabreadConfiguration in class DataEditorPanelTabstate - Current state of the viewprotected void cleanup(IProgrammableDataGenerator object)
cleanup in class ProgrammableDataGeneratorEditorobject - Objectprotected javax.swing.JFileChooser createFileChooser()
createFileChooser in class DataEditorPanelTabprotected javax.swing.JFileChooser createFileChooserSet()
createFileChooserSet in class ProgrammableDataGeneratorEditorprotected void createUI()
createUI in class PanelTabprotected void initialize()
initialize in class ProgrammableDataGeneratorEditorprotected void updateList()
updateList in class ProgrammableDataGeneratorEditorprotected void updateTransformSelection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||