Class NumberScalarListViewer
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
fr.esrf.tangoatk.widget.attribute.NumberScalarListViewer
- All Implemented Interfaces:
JAutoScrolledTextListener,ImageObserver,MenuContainer,Serializable,EventListener,Accessible
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanelNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected Vector<fr.esrf.tangoatk.core.IAttribute>protected Vector<LabelViewer>protected Vector<JComponent>protected Vector<JComponent>protected SimplePropertyFrameprotected Fontstatic final Stringstatic final Stringstatic final StringFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanDeprecated.As of ATKWidget-2.5.8 and higher The method getSetterType should not be used.booleanbooleanprotected voidinitComponents(fr.esrf.tangoatk.core.AttributeList scalarList) This method is called from within the constructor to initialize the form.static voidprotected voidvoidsetArrowColor(Color ac) Sets the current arrowButton color for the WheelEditor used as number settervoidsetLabelVisible(boolean lv) voidsetModel(fr.esrf.tangoatk.core.AttributeList scalarList) voidsetPropertyButtonVisible(boolean pv) voidsetPropertyListEditable(boolean pv) voidsetSetterType(String setType) Deprecated.As of ATKWidget-2.5.8 and higher this method has no effect.voidsetSetterVisible(boolean sv) voidsetTheFont(Font ft) voidsetToolTipDisplay(String ttType) Sets the current toolTipDisplay.voidsetUnitVisible(boolean uv) voidtextExceedBounds(JAutoScrolledText source) Trigger when the text exceed component boundsMethods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIMethods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, 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, 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, updateMethods 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, transferFocusDownCycle, validate, validateTreeMethods 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, getName, getParent, 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, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
DEFAULT_SETTER
- See Also:
-
COMBO_SETTER
- See Also:
-
listModel
-
nsLabels
-
nsViewers
-
nsSetters
-
nsPropButtons
-
propFrame
-
theFont
-
TOOLTIP_DISPLAY_NONE
- See Also:
-
TOOLTIP_DISPLAY_NAME_ONLY
- See Also:
-
TOOLTIP_DISPLAY_ALL
- See Also:
-
-
Constructor Details
-
NumberScalarListViewer
public NumberScalarListViewer()Creates new form NumberScalarListViewer
-
-
Method Details
-
setModel
public void setModel(fr.esrf.tangoatk.core.AttributeList scalarList) -
removeComponents
protected void removeComponents() -
getTheFont
-
setTheFont
-
getLabelVisible
public boolean getLabelVisible() -
setLabelVisible
public void setLabelVisible(boolean lv) -
getSetterVisible
public boolean getSetterVisible() -
setSetterVisible
public void setSetterVisible(boolean sv) -
getPropertyButtonVisible
public boolean getPropertyButtonVisible() -
setPropertyButtonVisible
public void setPropertyButtonVisible(boolean pv) -
getPropertyListEditable
public boolean getPropertyListEditable() -
setPropertyListEditable
public void setPropertyListEditable(boolean pv) -
getUnitVisible
public boolean getUnitVisible() -
setUnitVisible
public void setUnitVisible(boolean uv) -
getToolTipDisplay
- Returns:
- the current toolTipDisplay
- See Also:
-
setToolTipDisplay
Sets the current toolTipDisplay. This property should be set before the call to setModel()- Parameters:
ttType- Tooltip type- See Also:
-
getSetterType
Deprecated.As of ATKWidget-2.5.8 and higher The method getSetterType should not be used. The setterType for each NumberScalar attribute is selected automatically by the NumberScalarListViewer.- Returns:
- Setter type
-
setSetterType
Deprecated.As of ATKWidget-2.5.8 and higher this method has no effect. The setterType for each NumberScalar attribute is selected automatically by the NumberScalarListViewer.- Parameters:
setType- Setter type
-
getArrowColor
- Returns:
- the current arrowButton colour for the WheelEditor used as number setter
- See Also:
-
setArrowColor
Sets the current arrowButton color for the WheelEditor used as number setter- Parameters:
ac- ArrowButton color
-
textExceedBounds
Description copied from interface:JAutoScrolledTextListenerTrigger when the text exceed component bounds- Specified by:
textExceedBoundsin interfaceJAutoScrolledTextListener- Parameters:
source- Component source
-
initComponents
protected void initComponents(fr.esrf.tangoatk.core.AttributeList scalarList) This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.- Parameters:
scalarList- Attribute list
-
main
-