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.
|
paintDisabledText
getBaseline, getBaselineResizeBehavior, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, layoutCL, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
protected 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 BasicLabelUI
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class BasicLabelUI
public Dimension getMinimumSize(JComponent c)
getMinimumSize
in class BasicLabelUI
public Dimension getMaximumSize(JComponent c)
getMaximumSize
in class BasicLabelUI
Copyright © 2002-2013 Edwin Dankert. All Rights Reserved.