public class DeviceChoice extends DeviceComponent
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
protected JCheckBox |
checkB |
protected double[] |
choiceDoubleValues |
protected float[] |
choiceFloatValues |
protected int[] |
choiceIntValues |
protected String[] |
choiceItems |
protected JComboBox<String> |
comboB |
protected boolean |
convert |
protected boolean |
initializing |
protected JLabel |
label |
protected String |
labelString |
protected boolean |
showState |
baseNid, baseNidData, curr_data, curr_on, DATA, DISPATCH, editable, identifier, init_data, init_on, isHighlighted, mode, nidData, offsetNid, STATE, STRUCTURE, updateIdentifierlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
DeviceChoice() |
| Modifier and Type | Method and Description |
|---|---|
Component |
add(Component c) |
Component |
add(Component c,
int intex) |
Component |
add(String name,
Component c) |
protected void |
dataChanged(int offsetNid,
Object data) |
protected void |
displayData(String data,
boolean is_on) |
double[] |
getChoiceDoubleValues() |
float[] |
getChoiceFloatValues() |
int[] |
getChoiceIntValues() |
String[] |
getChoiceItems() |
boolean |
getConvert() |
protected String |
getData() |
String |
getLabelString() |
boolean |
getShowState() |
protected boolean |
getState() |
protected void |
initializeData(String data,
boolean is_on) |
void |
postConfigure() |
void |
setChoiceDoubleValues(double[] choiceDoubleValues) |
void |
setChoiceFloatValues(float[] choiceFloatValues) |
void |
setChoiceIntValues(int[] choiceIntValues) |
void |
setChoiceItems(String[] choiceItems) |
void |
setConvert(boolean convert) |
void |
setEnabled(boolean state) |
void |
setHighlight(boolean highlighted) |
void |
setLabelString(String labelString) |
void |
setShowState(boolean showState) |
apply, apply, checkRefShot, configure, configure, copyData, fireUpdate, getBaseNid, getFullData, getIdentifier, getOffsetNid, getRefShot, getUpdateId, getUpdateIdentifier, isChanged, isDataChanged, isStateChanged, pasteData, redisplay, reportDataChanged, reportStateChanged, reset, setBaseNid, setDisable, setEnable, setIdentifier, setOffsetNid, setRefShot, setUpdateIdentifier, stateChanged, supportsState, updategetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, 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, 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, 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, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprotected boolean showState
protected String labelString
protected String[] choiceItems
protected int[] choiceIntValues
protected float[] choiceFloatValues
protected double[] choiceDoubleValues
protected boolean convert
protected JCheckBox checkB
protected JLabel label
protected boolean initializing
protected void dataChanged(int offsetNid,
Object data)
dataChanged in class DeviceComponentprotected void displayData(String data, boolean is_on)
displayData in class DeviceComponentpublic double[] getChoiceDoubleValues()
public float[] getChoiceFloatValues()
public int[] getChoiceIntValues()
public String[] getChoiceItems()
public boolean getConvert()
protected String getData()
getData in class DeviceComponentpublic String getLabelString()
public boolean getShowState()
protected boolean getState()
getState in class DeviceComponentprotected void initializeData(String data, boolean is_on)
initializeData in class DeviceComponentpublic void postConfigure()
postConfigure in class DeviceComponentpublic void setChoiceDoubleValues(double[] choiceDoubleValues)
public void setChoiceFloatValues(float[] choiceFloatValues)
public void setChoiceIntValues(int[] choiceIntValues)
public void setChoiceItems(String[] choiceItems)
public void setConvert(boolean convert)
public void setEnabled(boolean state)
setEnabled in class JComponentpublic void setHighlight(boolean highlighted)
setHighlight in class DeviceComponentpublic void setLabelString(String labelString)
public void setShowState(boolean showState)
Copyright © 2022. All rights reserved.