public class PMIRectangle extends AbstractVisionComponent
javax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
static int |
GRADIENT_EAST_WEST |
static int |
GRADIENT_NORTH_SOUTH |
static int |
GRADIENT_OFF |
static int |
GRADIENT_ROUND |
static int |
GRADIENT_SLOPE |
antialias, context, cursorCodelistenerList, 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_ALIGNMENTRESERVED_SET_KEYCOMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONSCOMPONENT_RUNNING| Constructor and Description |
|---|
PMIRectangle() |
| Modifier and Type | Method and Description |
|---|---|
int |
getEastLineWidth() |
java.awt.Color |
getGradientColor() |
int |
getGradientStyle() |
int |
getGradientType() |
int |
getNorthLineWidth() |
int |
getOverrideHeight() |
int |
getOverrideWidth() |
int |
getRotation() |
float |
getRoundingRadius() |
int |
getSouthLineWidth() |
int |
getWestLineWidth() |
boolean |
isDrawFill() |
boolean |
isOpaque() |
boolean |
isOverrideSize() |
protected void |
paintComponent(java.awt.Graphics graphics) |
void |
setAntiAlias(boolean b)
For backwards compatability.
|
void |
setBackground(java.awt.Color bg) |
void |
setDrawEast(boolean b) |
void |
setDrawFill(boolean b) |
void |
setDrawNorth(boolean b) |
void |
setDrawSouth(boolean b) |
void |
setDrawWest(boolean b) |
void |
setEastLineWidth(int i) |
void |
setForeground(java.awt.Color fg) |
void |
setGradientColor(java.awt.Color color) |
void |
setGradientStyle(int i) |
void |
setGradientType(int i) |
void |
setNorthLineWidth(int i) |
void |
setOverrideHeight(int overrideHeight) |
void |
setOverrideSize(boolean overrideSize) |
void |
setOverrideWidth(int overrideWidth) |
void |
setRotation(int i) |
void |
setRoundingRadius(float roundingRadius) |
void |
setSouthLineWidth(int i) |
void |
setWestLineWidth(int i) |
getAppContext, getCursorCode, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getQuality, getStyles, getToolTipText, isAntialias, isPropertyDefined, localeChanged, onShutdown, onStartup, paintChildren, setAntialias, setCursorCode, setDataQuality, setDynamicProps, setName, setPropertyValue, setQuality, setStyles, setToolTipText, setVisible, shutdownComponent, startupComponent, updateQualityaddAncestorListener, 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, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, 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, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update, updateUIadd, 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, 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, transferFocusUpCyclepublic static final int GRADIENT_OFF
public static final int GRADIENT_NORTH_SOUTH
public static final int GRADIENT_EAST_WEST
public static final int GRADIENT_SLOPE
public static final int GRADIENT_ROUND
public boolean isOpaque()
isOpaque in class javax.swing.JComponentprotected void paintComponent(java.awt.Graphics graphics)
paintComponent in class AbstractVisionComponentpublic boolean isDrawFill()
public int getRotation()
public void setDrawFill(boolean b)
public void setRotation(int i)
public void setAntiAlias(boolean b)
public int getEastLineWidth()
public int getNorthLineWidth()
public int getSouthLineWidth()
public int getWestLineWidth()
public void setDrawEast(boolean b)
public void setDrawNorth(boolean b)
public void setDrawSouth(boolean b)
public void setDrawWest(boolean b)
public void setEastLineWidth(int i)
public void setNorthLineWidth(int i)
public void setSouthLineWidth(int i)
public void setWestLineWidth(int i)
public java.awt.Color getGradientColor()
public int getGradientStyle()
public int getGradientType()
public void setGradientColor(java.awt.Color color)
public void setGradientStyle(int i)
public void setGradientType(int i)
public void setBackground(java.awt.Color bg)
setBackground in class javax.swing.JComponentpublic void setForeground(java.awt.Color fg)
setForeground in class javax.swing.JComponentpublic int getOverrideHeight()
public void setOverrideHeight(int overrideHeight)
public boolean isOverrideSize()
public void setOverrideSize(boolean overrideSize)
public int getOverrideWidth()
public void setOverrideWidth(int overrideWidth)
public float getRoundingRadius()
public void setRoundingRadius(float roundingRadius)