public class PMITrackSegment extends AbstractVisionComponent implements SelfBinder
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected boolean |
antiAlias |
static int |
END_CAP |
static int |
END_SLANT1 |
static int |
END_SLANT2 |
protected int |
end1Outline |
protected int |
end1Shape |
protected int |
end2Outline |
protected int |
end2Shape |
protected java.awt.Color |
fillColor |
protected int |
mode |
static int |
MODE_DOWNHILL |
static int |
MODE_UPHILL |
static int |
MODE_VERTICAL_HORIZONTAL |
static int |
OL_CLOSED |
static int |
OL_OPEN |
static int |
OL_OPEN_END |
static int |
OL_OPEN_SIDE |
protected java.awt.Color |
outlineColor |
protected int |
outlineWidth |
protected int |
state |
static int |
STATE_LOCKED |
static int |
STATE_NORMAL |
static int |
STATE_OCCUPIED |
static int |
STATE_OUT_OFF_COR |
static int |
STATE_USER1 |
static int |
STATE_USER2 |
static int |
STATE_USER3 |
static int |
STATE_USER4 |
protected int |
trackWidth |
antialias, context, cursorCode
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
RESERVED_SET_KEY
COMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONS
COMPONENT_RUNNING
Constructor and Description |
---|
PMITrackSegment() |
Modifier and Type | Method and Description |
---|---|
int |
getEnd1Outline() |
int |
getEnd1Shape() |
int |
getEnd2Outline() |
int |
getEnd2Shape() |
java.awt.Color |
getFillColor() |
int |
getMode() |
java.awt.Color |
getOutlineColor() |
int |
getOutlineWidth() |
int |
getState() |
java.lang.String |
getToolTipText(java.awt.event.MouseEvent event) |
int |
getTrackWidth() |
void |
installBindings(InteractionController controller) |
boolean |
isAntiAlias() |
static void |
main(java.lang.String[] args) |
protected void |
paintComponent(java.awt.Graphics g) |
void |
setAntiAlias(boolean antiAlias) |
void |
setEnd1Outline(int end1Outline) |
void |
setEnd1Shape(int end1Shape) |
void |
setEnd2Outline(int end2Outline) |
void |
setEnd2Shape(int end2Shape) |
void |
setFillColor(java.awt.Color color) |
void |
setMode(int mode) |
void |
setName(java.lang.String newName) |
void |
setOutlineColor(java.awt.Color color) |
void |
setOutlineWidth(int outlineWidth) |
void |
setState(int state) |
void |
setTrackWidth(int trackWidth) |
getAppContext, getCursorCode, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getStyles, getToolTipText, isAntialias, isPropertyDefined, localeChanged, onShutdown, onStartup, paintChildren, setAntialias, setCursorCode, setDataQuality, setDynamicProps, setPropertyValue, setStyles, setToolTipText, setVisible, shutdownComponent, startupComponent, updateQuality
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, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintImmediately, paintImmediately, paramString, 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, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update, updateUI
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, validateTree
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, getAccessibleContext, 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, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final int MODE_VERTICAL_HORIZONTAL
public static final int MODE_UPHILL
public static final int MODE_DOWNHILL
public static final int END_CAP
public static final int END_SLANT1
public static final int END_SLANT2
public static final int OL_CLOSED
public static final int OL_OPEN_END
public static final int OL_OPEN_SIDE
public static final int OL_OPEN
public static final int STATE_NORMAL
public static final int STATE_OCCUPIED
public static final int STATE_LOCKED
public static final int STATE_OUT_OFF_COR
public static final int STATE_USER1
public static final int STATE_USER2
public static final int STATE_USER3
public static final int STATE_USER4
protected int trackWidth
protected int mode
protected java.awt.Color fillColor
protected java.awt.Color outlineColor
protected int end1Shape
protected int end2Shape
protected int end1Outline
protected int end2Outline
protected int outlineWidth
protected boolean antiAlias
protected int state
public void setName(java.lang.String newName)
setName
in class AbstractVisionComponent
protected void paintComponent(java.awt.Graphics g)
paintComponent
in class AbstractVisionComponent
g
- JComponent.paintComponent(java.awt.Graphics)
public java.lang.String getToolTipText(java.awt.event.MouseEvent event)
getToolTipText
in class javax.swing.JComponent
public static void main(java.lang.String[] args)
public java.awt.Color getFillColor()
public void setFillColor(java.awt.Color color)
color
- public int getEnd1Shape()
public void setEnd1Shape(int end1Shape)
public int getEnd2Shape()
public void setEnd2Shape(int end2Shape)
public int getMode()
public void setMode(int mode)
public int getTrackWidth()
public void setTrackWidth(int trackWidth)
public boolean isAntiAlias()
public void setAntiAlias(boolean antiAlias)
public int getOutlineWidth()
public void setOutlineWidth(int outlineWidth)
public java.awt.Color getOutlineColor()
public void setOutlineColor(java.awt.Color color)
public int getEnd1Outline()
public void setEnd1Outline(int end1Outline)
public int getEnd2Outline()
public void setEnd2Outline(int end2Outline)
public void installBindings(InteractionController controller)
installBindings
in interface SelfBinder
public int getState()
public void setState(int state)