Class ScalarListViewer
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
fr.esrf.tangoatk.widget.attribute.ScalarListViewer
- 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>static final Stringstatic final Stringprotected SimplePropertyFrameprotected Vector<LabelViewer>protected Vector<JComponent>protected Vector<JComponent>static final Stringstatic final Stringprotected 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 TypeMethodDescriptionbooleanbooleanDeprecated.As of ATKWidget-2.5.8 and higher The method getNumberSetterType should not be used.booleanbooleanbooleanbooleanDeprecated.As of ATKWidget-2.5.8 and higher The method getStringSetterType should not be used.booleanprotected 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 settervoidsetBooleanSetterType(String setType) Sets the current BooleanSetterType used for all BooleanScalar attributesvoidsetCheckBoxStrings(fr.esrf.tangoatk.core.IBooleanScalar ibs, String trueLabel, String falseLabel) voidsetLabelVisible(boolean lv) voidsetModel(fr.esrf.tangoatk.core.AttributeList scalarList) voidsetNoBorder(boolean nb) voidsetNumberSetterType(String setType) Deprecated.As of ATKWidget-2.5.8 and higher this method has no effect.voidsetPropertyButtonVisible(boolean pv) voidsetPropertyListEditable(boolean pv) voidsetSetterEnabled(boolean setterEnabled) voidsetSetterVisible(boolean sv) voidsetStringSetterType(String setType) Deprecated.As of ATKWidget-2.5.8 and higher this method has no effect.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
-
BOOLEAN_DEFAULT_SETTER
- See Also:
-
BOOLEAN_COMBO_SETTER
- See Also:
-
listModel
-
scalarLabels
-
scalarViewers
-
scalarSetters
-
scalarPropButtons
-
propFrame
-
theFont
-
NUMBER_DEFAULT_SETTER
- See Also:
-
NUMBER_COMBO_SETTER
- See Also:
-
STRING_DEFAULT_SETTER
- See Also:
-
STRING_COMBO_SETTER
- See Also:
-
TOOLTIP_DISPLAY_NONE
- See Also:
-
TOOLTIP_DISPLAY_NAME_ONLY
- See Also:
-
TOOLTIP_DISPLAY_ALL
- See Also:
-
-
Constructor Details
-
ScalarListViewer
public ScalarListViewer()Creates new form ScalarListViewer
-
-
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) -
getSetterEnabled
public boolean getSetterEnabled() -
setSetterEnabled
public void setSetterEnabled(boolean setterEnabled) -
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) -
getNoBorder
public boolean getNoBorder() -
setNoBorder
public void setNoBorder(boolean nb) -
getBooleanSetterType
- Returns:
- the current BooleanSetterType used for all BooleanScalar attributes
- See Also:
-
setBooleanSetterType
Sets the current BooleanSetterType used for all BooleanScalar attributes- Parameters:
setType- Setter type- See Also:
-
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:
-
getNumberSetterType
Deprecated.As of ATKWidget-2.5.8 and higher The method getNumberSetterType should not be used. The setterType for each NumberScalar attribute is selected automatically by the ScalarListViewer.- Returns:
- numberSetterType
-
setNumberSetterType
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 ScalarListViewer.- Parameters:
setType- Not used
-
getStringSetterType
Deprecated.As of ATKWidget-2.5.8 and higher The method getStringSetterType should not be used. The setterType for each StringScalar attribute is selected automatically by the ScalarListViewer.- Returns:
- stringSetterType
-
setStringSetterType
Deprecated.As of ATKWidget-2.5.8 and higher this method has no effect. The setterType for each StringScalar attribute is selected automatically by the ScalarListViewer.- Parameters:
setType- Not used
-
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
-
setCheckBoxStrings
-
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
-