public class OdsxColumnAssignmentPane extends FwkDialogPane
| Property Keyword | Datatype | Default | Description |
|---|---|---|---|
| Icon.AoQuantity | String | com/highqsoft/fwk/images/AoQuantity.gif | The AoQuantity icon images. |
| Icon.Up | String | com/highqsoft/fwk/images/Up.gif | The icon images for the assignment remove button. |
| Icon.Down | String | com/highqsoft/fwk/images/Down.gif | The icon images for the assignment add button. |
| OdsxColumnAssignmentPane.Column.Filter | String | * | The default column filter. |
| OdsxColumnAssignmentPane.Quantity.Filter | String | * | The default quantity filter. |
| OdsxColumnAssignmentPane.Text.Channels | String | OdsxColumnAssignmentPane.Text.Channels | The text label for the column selection box. |
| OdsxColumnAssignmentPane.Text.Quantities | String | OdsxColumnAssignmentPane.Text.Quantities | The text label for the quantity selection box. |
| OdsxColumnAssignmentPane.Text.Filter | String | OdsxColumnAssignmentPane.Text.Filter | The text label for the filter input field. |
| OdsxColumnAssignmentPane.Text.BusName | String | OdsxColumnAssignmentPane.Text.BusName | The text label for the bus name selector. |
| OdsxColumnAssignmentPane.Text.Offset | String | OdsxColumnAssignmentPane.Text.Offset | The text label for the offset input field. |
| OdsxColumnAssignmentPane.Text.Factor | String | OdsxColumnAssignmentPane.Text.Factor | The text label for the factor input field. |
| OdsxColumnAssignmentPane.Text.Frequency | String | OdsxColumnAssignmentPane.Text.Frequency | The text label for the frequency input field. |
| OdsxColumnAssignmentPane.Text.CreateIndependentChannel | String | OdsxColumnAssignmentPane.Text.CreateIndependentChannel | The text label for independent channel creation check. |
| OdsxColumnAssignmentPane.Enable.Indepedent | boolean | false | This flag enables the user to select an independent column from column list. |
| OdsxColumnAssignmentPane.Text.NoQuantity | String | OdsxColumnAssignmentPane.Text.NoQuantity | Detailed message if the quantity of the independent channel is missing. |
| OdsxColumnAssignmentPane.Text.FormatError | String | OdsxColumnAssignmentPane.Text.FormatError | Message if the number format is wrong. |
| OdsxColumnAssignmentPane.Text.QuantityError | String | OdsxColumnAssignmentPane.Text.QuantityError | Message if the independent quantity is missing. |
| OdsxColumnAssignmentPane.Text.FreuqencyError | String | OdsxColumnAssignmentPane.Text.FreuqencyError | Message if the frequency of the independent channel is not available. |
| OdsxColumnAssignmentPane.Text.FactorError | String | OdsxColumnAssignmentPane.Text.FactorError | Message if the factor of the independent channel is not available. |
| OdsxColumnAssignmentPane.ToolTip.UseMouseButtonToSort | String | OdsxColumnAssignmentPane.ToolTip.UseMouseButtonToSort | The tool tip on table header. It describes the method to the columns. |
| OdsxColumnAssignmentPane.ToolTip.RemoveButton | String | OdsxColumnAssignmentPane.ToolTip.RemoveButton | The tool tip on button that removes entries from table. |
| OdsxColumnAssignmentPane.ToolTip.AddButton | String | OdsxColumnAssignmentPane.ToolTip.AddButton | The tool tip on button that adds entries from table. |
| OdsxColumnAssignmentPane.ToolTip.Filter | String | OdsxColumnAssignmentPane.ToolTip.Filter | The tool tip for the filter input widget. |
,
Serialized Formjavax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.JButton |
addButton |
protected ApplicationRelation |
aeRel |
protected javax.swing.JTable |
assignmentTable |
protected javax.swing.JComboBox |
busList |
protected java.lang.String |
busName |
protected java.lang.String |
columnFilter |
protected javax.swing.JTextField |
columnFilterField |
protected FwkInfoBusItemList |
columnList |
protected static java.awt.datatransfer.DataFlavor[] |
dataFlavor |
protected static java.lang.String |
DEFAULT_COLUMN_FILTER |
protected static java.lang.String |
DEFAULT_QUANTITY_FILTER |
static FwkIconInterface |
downIcon |
protected OdsxPresentableElementInterface |
elem |
protected javax.swing.JTextField |
factorField |
protected javax.swing.JTextField |
frequencyField |
protected javax.swing.JCheckBox |
indepCheck |
static boolean |
INDEPENDENT_ENABLED |
protected javax.swing.JPanel |
indepPanel |
protected javax.swing.JComboBox |
indepQuantity |
protected javax.swing.JTextField |
offsetField |
protected OdsxColumnAssignmentPaneValue |
paneValue |
protected java.lang.String |
quantityFilter |
protected javax.swing.JTextField |
quantityFilterField |
static FwkIconInterface |
quantityIcon |
protected javax.swing.JList |
quantityList |
protected com.highqsoft.odsx.dialog.OdsxColumnAssignmentPane.QuantityModel |
quantityModel |
protected com.highqsoft.odsx.dialog.OdsxColumnAssignmentPane.QuantityListRenderer |
quantityRenderer |
protected javax.swing.JButton |
removeButton |
protected javax.swing.JSplitPane |
splitPane |
static FwkIconInterface |
upIcon |
static java.lang.String |
version |
fwkDialog, helpId, icon, ident, tip, titlebgImage, controller, descriptor, fwkItem, imgHeight, imgWidth, lineAppearance, newHeight, newWidth, pageFormat, readingDOM, text, textAppearance, xalign, yalignaccessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTBOTTOM, CENTER, LEFT, RIGHT, TOPINFOBUS_SOURCEAUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME| Constructor and Description |
|---|
OdsxColumnAssignmentPane(OdsxPresentableElementInterface elem)
The constructor.
|
OdsxColumnAssignmentPane(java.lang.String title,
OdsxPresentableElementInterface elem)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAssignment()
Add an assignment, if possible.
|
javax.swing.JPanel |
createIndepPanel(javax.swing.ComboBoxModel model,
javax.swing.ListCellRenderer renderer)
Create the independent panel.
|
protected void |
createPane(java.lang.String title)
Create the panel.
|
FwkDialogPaneValueInterface |
getSelectedValue()
Get the selected value.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
isAllowedToConsume(java.util.EventObject e)
This method return a boolean that indicates whether a keyboard event
should be considered by an keyboard listener.
|
static void |
main(java.lang.String[] args)
The Main body to test the class.
|
protected void |
setButtonSensitivity()
Set the button sensitivity.
|
void |
setSelectedValue(FwkDialogPaneValueInterface value)
Setthe selected value.
|
protected void |
updateLists()
Update the list boxes.
|
addKeyListener, buttonCreated, cancelPerformed, dialogWillClose, dialogWillOpen, fireKeyEvent, getHelpID, getIcon, getIdent, getKeyListenerArray, getParams, getTip, getTitle, isScrollable, needsCancel, needsClose, needsHelp, needsOk, needsReset, okPerformed, removeKeyListener, setDefaults, setHelpID, setIcon, setIdent, setTip, setTitle, toStringaddCommand, addCommand, addPropertyChangeListener, addPropertyChangeListener, addToGroup, addToGroup, addVetoableChangeListener, addVetoableChangeListener, clearCommands, commandsAvailable, compareTo, deleteGroup, destroyController, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getAuthor, getBuild, getClassName, getCommand, getCommands, getCommands, getCompany, getCompanyInternetAddress, getController, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getDescriptor, getGroup, getIcon, getIconKey, getIconKey, getInstanceDescriptor, getName, getNumberOfPages, getPageFormat, getPersistentObjectNames, getPresentationString, getPresentationString, getPrintable, getPrintJobName, getProperty, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, getPropertyGroup, getSource, getSupportEMail, getTitleName, getTransferData, getTransferDataFlavors, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, groupExists, isDataFlavorSupported, isPropertyChangeEventSuspended, lostOwnership, paintComponent, print, printPanel, readConstructor, readFromDOM, readingDOM, readingDOM, refresh, release, removeCommand, removeFromGroup, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBackgroundImage, setBuild, setClassName, setCommands, setCompany, setCompanyInternetAddress, setController, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setDescriptor, setIcon, setIconKey, setIconKey, setLineAppearance, setName, setPageFormat, setProperty, setPropertyGroup, setSource, setSupportEMail, setText, setTextAlignment, setTextAppearance, setTitleName, suspendChangeManager, suspendPropertyChangeEvents, writeConstructor, writeToDOM, writeToXMLgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, 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, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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, updateadd, 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, transferFocusDownCycle, validate, validateTreeaction, 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, 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, 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, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreleaseaddpublic static final java.lang.String version
public static final FwkIconInterface quantityIcon
public static final FwkIconInterface upIcon
public static final FwkIconInterface downIcon
protected static java.lang.String DEFAULT_COLUMN_FILTER
protected static java.lang.String DEFAULT_QUANTITY_FILTER
public static final boolean INDEPENDENT_ENABLED
protected static java.awt.datatransfer.DataFlavor[] dataFlavor
protected OdsxPresentableElementInterface elem
protected FwkInfoBusItemList columnList
protected javax.swing.JComboBox busList
protected javax.swing.JList quantityList
protected javax.swing.JTable assignmentTable
protected javax.swing.JButton addButton
protected javax.swing.JButton removeButton
protected javax.swing.JSplitPane splitPane
protected javax.swing.JTextField columnFilterField
protected javax.swing.JTextField quantityFilterField
protected javax.swing.JCheckBox indepCheck
protected javax.swing.JComboBox indepQuantity
protected javax.swing.JTextField offsetField
protected javax.swing.JTextField factorField
protected javax.swing.JTextField frequencyField
protected javax.swing.JPanel indepPanel
protected com.highqsoft.odsx.dialog.OdsxColumnAssignmentPane.QuantityModel quantityModel
protected com.highqsoft.odsx.dialog.OdsxColumnAssignmentPane.QuantityListRenderer quantityRenderer
protected OdsxColumnAssignmentPaneValue paneValue
protected java.lang.String columnFilter
protected java.lang.String quantityFilter
protected java.lang.String busName
protected ApplicationRelation aeRel
public OdsxColumnAssignmentPane(OdsxPresentableElementInterface elem)
aoSession - the session where to find quantities.public OdsxColumnAssignmentPane(java.lang.String title,
OdsxPresentableElementInterface elem)
title - The title of the panel.aoSession - the session where to find quantities.public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class FwkDialogPaneprotected void createPane(java.lang.String title)
t - The title of the panel.public javax.swing.JPanel createIndepPanel(javax.swing.ComboBoxModel model,
javax.swing.ListCellRenderer renderer)
protected void setButtonSensitivity()
protected void updateLists()
protected void addAssignment()
public FwkDialogPaneValueInterface getSelectedValue()
public void setSelectedValue(FwkDialogPaneValueInterface value)
font - The new value.public boolean isAllowedToConsume(java.util.EventObject e)
isAllowedToConsume in interface FwkDialogPaneInterfaceisAllowedToConsume in class FwkDialogPanepublic static void main(java.lang.String[] args)