public class WebVerticalLabelUI extends WebLabelUI
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
clockwise
Style settings.
|
drawShade, label, margin, painter, propertyChangeListener, styleId| Constructor and Description |
|---|
WebVerticalLabelUI() |
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Returns an instance of the WebVerticalLabelUI for the specified component.
|
int |
getBaseline(javax.swing.JComponent c,
int width,
int height) |
java.awt.Component.BaselineResizeBehavior |
getBaselineResizeBehavior(javax.swing.JComponent c) |
boolean |
isClockwise() |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
Paints label.
|
void |
setClockwise(boolean clockwise) |
getMargin, getPainter, getPreferredSize, getShadeColor, getStyleId, getTransparency, installUI, isDrawShade, setDrawShade, setMargin, setPainter, setShadeColor, setStyleId, setTransparency, uninstallUI, updateBordergetMaximumSize, getMinimumSize, installComponents, installDefaults, installKeyboardActions, installListeners, layoutCL, paintDisabledText, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListenerspublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c - component that will use UI instancepublic boolean isClockwise()
public void setClockwise(boolean clockwise)
public int getBaseline(javax.swing.JComponent c,
int width,
int height)
getBaseline in class javax.swing.plaf.basic.BasicLabelUIpublic java.awt.Component.BaselineResizeBehavior getBaselineResizeBehavior(javax.swing.JComponent c)
getBaselineResizeBehavior in class javax.swing.plaf.basic.BasicLabelUIpublic void paint(java.awt.Graphics g,
javax.swing.JComponent c)
WebLabelUIpaint in class WebLabelUIg - graphicsc - component