public class DeviceField extends DeviceComponent
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
protected JCheckBox |
checkB |
boolean |
displayEvaluated |
protected String |
initialField |
protected boolean |
initializing |
protected boolean |
isGridBag |
protected JLabel |
label |
String |
labelString |
int |
numCols |
protected int |
preferredWidth |
boolean |
showState |
protected JTextField |
textF |
boolean |
textOnly |
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 |
|---|
DeviceField() |
| 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,
String data) |
protected void |
displayData(String data,
boolean is_on) |
protected String |
getData() |
boolean |
getDisplayEvaluated() |
boolean |
getEditable() |
String |
getLabelString() |
int |
getNumCols() |
int |
getPreferredWidth() |
boolean |
getShowState() |
protected boolean |
getState() |
boolean |
getTextOnly() |
protected void |
initializeData(String data,
boolean is_on) |
protected boolean |
isChanged() |
protected boolean |
isDataChanged() |
void |
print(Graphics g) |
void |
setBounds(int x,
int y,
int width,
int height) |
void |
setDisplayEvaluated(boolean displayEvaluated) |
void |
setEditable(boolean editable) |
void |
setEnabled(boolean state) |
void |
setHighlight(boolean highlighted) |
void |
setLabelString(String labelString) |
void |
setNumCols(int numCols) |
void |
setPreferredWidth(int preferredWidth) |
void |
setShowState(boolean showState) |
void |
setTextOnly(boolean textOnly) |
boolean |
supportsState() |
apply, apply, checkRefShot, configure, configure, copyData, dataChanged, fireUpdate, getBaseNid, getFullData, getIdentifier, getOffsetNid, getRefShot, getUpdateId, getUpdateIdentifier, isStateChanged, pasteData, postConfigure, redisplay, reportDataChanged, reportStateChanged, reset, setBaseNid, setDisable, setEnable, setIdentifier, setOffsetNid, setRefShot, setUpdateIdentifier, stateChanged, 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, 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, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic boolean textOnly
public boolean showState
public boolean displayEvaluated
public String labelString
public int numCols
protected boolean initializing
protected int preferredWidth
protected boolean isGridBag
protected String initialField
protected JCheckBox checkB
protected JLabel label
protected JTextField textF
protected void dataChanged(int offsetNid,
String data)
protected void displayData(String data, boolean is_on)
displayData in class DeviceComponentprotected String getData()
getData in class DeviceComponentpublic boolean getDisplayEvaluated()
public boolean getEditable()
public String getLabelString()
public int getNumCols()
public int getPreferredWidth()
public boolean getShowState()
protected boolean getState()
getState in class DeviceComponentpublic boolean getTextOnly()
protected void initializeData(String data, boolean is_on)
initializeData in class DeviceComponentprotected boolean isChanged()
isChanged in class DeviceComponentprotected boolean isDataChanged()
isDataChanged in class DeviceComponentpublic void print(Graphics g)
print in class JComponentpublic void setBounds(int x,
int y,
int width,
int height)
public void setDisplayEvaluated(boolean displayEvaluated)
public void setEditable(boolean editable)
public void setEnabled(boolean state)
setEnabled in class JComponentpublic void setHighlight(boolean highlighted)
setHighlight in class DeviceComponentpublic void setLabelString(String labelString)
public void setNumCols(int numCols)
public void setPreferredWidth(int preferredWidth)
public void setShowState(boolean showState)
public void setTextOnly(boolean textOnly)
public boolean supportsState()
supportsState in class DeviceComponentCopyright © 2023. All rights reserved.