public class PMINStateButton extends AbstractVisionPanel implements DesignerInitializable, EnabledEx
| Modifier and Type | Class and Description |
|---|---|
static class |
PMINStateButton.ButtonConfig
Represents a simple style configuration for a button
|
static class |
PMINStateButton.NStateConfig |
static class |
PMINStateButton.StateConfig |
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected int |
cursorCode |
static java.lang.String |
defaultConfirmTitle |
static int |
DISPLAY_COLUMN |
static int |
DISPLAY_ROW |
static int |
DISPLAY_WRAP |
antialias, context, dynamicPropslistenerList, 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_ALIGNMENTDISABLED_BY_PERMISSIONSRESERVED_SET_KEYCOMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONSCOMPONENT_RUNNING| Constructor and Description |
|---|
PMINStateButton() |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluateEnabled() |
int |
getAlignment() |
java.lang.String |
getConfirmText() |
int |
getControlValue() |
int |
getCursorCode() |
int |
getDisplayStyle() |
int |
getGridCols() |
int |
getGridRows() |
int |
getHGap() |
int |
getIndicatorValue() |
Dataset |
getStates() |
java.lang.String |
getToolTipText() |
int |
getVGap() |
void |
initialize() |
boolean |
isComponentEnabled() |
boolean |
isConfirm() |
boolean |
isFocusableEnabled() |
boolean |
isRolloverEnabled() |
void |
setAlignment(int alignment) |
void |
setBackground3D(boolean background3D) |
void |
setComponentEnabled(boolean componentEnabled) |
void |
setConfirm(boolean confirm) |
void |
setConfirmText(java.lang.String confirmText) |
void |
setControlValue(int controlValue) |
void |
setCursorCode(int cursorCode) |
void |
setDisplayStyle(int s) |
void |
setFocusableEnabled(boolean focusable) |
void |
setFont(java.awt.Font font) |
void |
setGridCols(int gridCols) |
void |
setGridRows(int gridRows) |
void |
setHGap(int gap) |
void |
setIndicatorValue(int indicatorValue) |
void |
setLocale(java.util.Locale l) |
void |
setRolloverEnabled(boolean rollover) |
void |
setStates(Dataset states) |
void |
setVGap(int gap) |
getAppContext, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getQuality, getStyles, initStyleListener, isAntialias, isComponentRunning, isPropertyDefined, localeChanged, onShutdown, onStartup, paintChildren, paintComponent, paintOverlayOverChildren, setAntialias, setDataQuality, setDynamicProps, setName, setPropertyValue, setQuality, setStyles, setToolTipText, setVisible, shutdownComponent, startupComponent, translate, updateQualitygetAccessibleContext, 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, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, 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, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, updateadd, 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, 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, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final int DISPLAY_COLUMN
public static final int DISPLAY_ROW
public static final int DISPLAY_WRAP
public static final java.lang.String defaultConfirmTitle
protected int cursorCode
public void initialize()
initialize in interface DesignerInitializablepublic int getHGap()
public void setHGap(int gap)
public int getVGap()
public void setVGap(int gap)
public int getCursorCode()
getCursorCode in class AbstractVisionPanelpublic void setCursorCode(int cursorCode)
setCursorCode in class AbstractVisionPanelpublic void setFont(java.awt.Font font)
setFont in class javax.swing.JComponentpublic boolean isComponentEnabled()
isComponentEnabled in interface EnabledExpublic void setComponentEnabled(boolean componentEnabled)
setComponentEnabled in interface EnabledExpublic void evaluateEnabled()
evaluateEnabled in interface EnabledExpublic int getDisplayStyle()
public void setDisplayStyle(int s)
public void setLocale(java.util.Locale l)
setLocale in class java.awt.Componentpublic Dataset getStates()
public void setStates(Dataset states)
public int getControlValue()
public void setControlValue(int controlValue)
public int getIndicatorValue()
public void setIndicatorValue(int indicatorValue)
public boolean isConfirm()
public void setConfirm(boolean confirm)
public java.lang.String getConfirmText()
public void setConfirmText(java.lang.String confirmText)
public java.lang.String getToolTipText()
getToolTipText in class AbstractVisionPanelpublic boolean isRolloverEnabled()
public void setRolloverEnabled(boolean rollover)
public boolean isFocusableEnabled()
public void setFocusableEnabled(boolean focusable)
public int getAlignment()
public void setAlignment(int alignment)
public int getGridRows()
public void setGridRows(int gridRows)
public int getGridCols()
public void setGridCols(int gridCols)
public void setBackground3D(boolean background3D)