public class DOMNodeCellRendererUI extends MetalLabelUI
| Modifier and Type | Field and Description |
|---|---|
protected static DOMNodeCellRendererUI |
labelUI |
metalLabelUI| Constructor and Description |
|---|
DOMNodeCellRendererUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent c) |
Dimension |
getMaximumSize(JComponent c) |
Dimension |
getMinimumSize(JComponent c) |
Dimension |
getPreferredSize(JComponent c) |
void |
paint(Graphics g,
JComponent c)
Paint the label text in the foreground color, if the label
is opaque then paint the entire background with the background
color.
|
protected void |
paintLine(JLabel l,
Graphics g,
org.bounce.viewer.xml.Line line,
int x,
int y)
Paint clippedText at textX, textY with the labels foreground color.
|
paintDisabledTextgetBaseline, getBaselineResizeBehavior, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, layoutCL, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, updateprotected static DOMNodeCellRendererUI labelUI
public static ComponentUI createUI(JComponent c)
protected void paintLine(JLabel l, Graphics g, org.bounce.viewer.xml.Line line, int x, int y)
public void paint(Graphics g, JComponent c)
paint in class BasicLabelUIpublic Dimension getPreferredSize(JComponent c)
getPreferredSize in class BasicLabelUIpublic Dimension getMinimumSize(JComponent c)
getMinimumSize in class BasicLabelUIpublic Dimension getMaximumSize(JComponent c)
getMaximumSize in class BasicLabelUICopyright © 2002-2013 Edwin Dankert. All Rights Reserved.