Package de.mid.innovator.m2msdk.ui
Class ConfigurationPanel
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
de.mid.innovator.m2msdk.ui.ConfigurationPanel
- All Implemented Interfaces:
ImageObserver,MenuContainer,Serializable,EventListener,Accessible,TreeExpansionListener,TreeSelectionListener,TreeWillExpandListener
public class ConfigurationPanel
extends JPanel
implements TreeSelectionListener, TreeExpansionListener, TreeWillExpandListener
Panel enabling to view and edit configuration items.
- Version:
- 11.5.1
- Author:
- jmback
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Component
Component.BaselineResizeBehavior -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationPanel(SessionInterface iSession, LookNFeel iLookNFeel, ConfigurationFrame iFrame, ConfigurationItemIF root) -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete selected items.voidvoidbooleanactionFindNext(String sFindText) voidactionHelp(Component comp) voidJump to next todo item.voidvoidactionJump(ConfigurationItemIF refItem) voidCreate a new item in component at last selected location with specified type.voidactionNewTemplate(String sWhat) Create a new template in component at last selected location with specified type.voidvoidvoidactionUsed(String sId) voidgetItem()getNameControl(int iType, Object content, Object selected) getNameControlText(JComponent iNameControl) getNode()getValueControl(int iType, Object content, Object selected) getValueControlText(JComponent iValueControl) voidvoidvoidsetVisible(boolean iVisible) voidtreeCollapsed(TreeExpansionEvent event) voidtreeExpanded(TreeExpansionEvent event) voidvoidtreeWillExpand(TreeExpansionEvent event) voidMethods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, setUI, updateUIMethods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, updateMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, list, list, paintComponents, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validateMethods inherited from class java.awt.Component
add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enableInputMethods, 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, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, hasFocus, imageUpdate, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, list, list, list, paintAll, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
BOOL
public static final int BOOL- See Also:
-
ENUM
public static final int ENUM- See Also:
-
EXPRESSION
public static final int EXPRESSION- See Also:
-
TEXT
public static final int TEXT- See Also:
-
-
Constructor Details
-
ConfigurationPanel
public ConfigurationPanel(SessionInterface iSession, LookNFeel iLookNFeel, ConfigurationFrame iFrame, ConfigurationItemIF root)
-
-
Method Details
-
valueChanged
- Specified by:
valueChangedin interfaceTreeSelectionListener
-
documentPerformed
-
panelActionPerformed
-
actionDelete
public void actionDelete()Delete selected items. -
actionDisable
public void actionDisable() -
actionEnable
public void actionEnable() -
actionFindNext
-
actionJump
public void actionJump() -
actionHelp
-
actionHighlight
public void actionHighlight()Jump to next todo item. -
actionJump
-
actionNew
Create a new item in component at last selected location with specified type.- Parameters:
sWhat- type of new element- Throws:
RemoteException
-
actionNewTemplate
Create a new template in component at last selected location with specified type.- Parameters:
sWhat- type of new template- Throws:
RemoteException
-
actionRename
public void actionRename() -
actionUpdate
public void actionUpdate() -
actionUsed
-
getValueControl
-
getValueControlText
-
getNameControl
-
getNameControlText
-
getItem
-
getNode
-
setVisible
public void setVisible(boolean iVisible) - Overrides:
setVisiblein classJComponent
-
getActions
-
treeCollapsed
- Specified by:
treeCollapsedin interfaceTreeExpansionListener
-
treeExpanded
- Specified by:
treeExpandedin interfaceTreeExpansionListener
-
treeWillCollapse
- Specified by:
treeWillCollapsein interfaceTreeWillExpandListener- Throws:
ExpandVetoException
-
treeWillExpand
- Specified by:
treeWillExpandin interfaceTreeWillExpandListener- Throws:
ExpandVetoException
-
setUri
-
getElement
-