biz.chitec.quarterback.swing
Class ListKeyInputHandler.BasicKIHCellRendererUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.LabelUI
javax.swing.plaf.basic.BasicLabelUI
biz.chitec.quarterback.swing.ListKeyInputHandler.BasicKIHCellRendererUI
- All Implemented Interfaces:
- java.util.EventListener, java.beans.PropertyChangeListener
- Enclosing class:
- ListKeyInputHandler
- public static class ListKeyInputHandler.BasicKIHCellRendererUI
- extends javax.swing.plaf.basic.BasicLabelUI
UI delegate with implementation.
The UI delegate for the ListKeyInputHandler.KIHCellRenderer class is derived from
the BasicLabelUI, which is also used for normal lists. Therefore, maximum compatibility
with the normal representation of a JList is archived. In fact, the renderer overrides
only one method of the standard renderer, uses only the default entries for colors, and does
change nothing about the fonts.
Nested classes inherited from class javax.swing.plaf.basic.BasicLabelUI |
|
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI |
labelUI |
Method Summary |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
UI delegate relevant method. |
protected void |
paintEnabledText(javax.swing.JLabel l,
java.awt.Graphics g,
java.lang.String s,
int textX,
int textY)
Draw the textual part of the content of list entry.
|
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI |
getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, layoutCL, paint, paintDisabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListKeyInputHandler.BasicKIHCellRendererUI
public ListKeyInputHandler.BasicKIHCellRendererUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
- UI delegate relevant method.
paintEnabledText
protected void paintEnabledText(javax.swing.JLabel l,
java.awt.Graphics g,
java.lang.String s,
int textX,
int textY)
- Draw the textual part of the content of list entry.
This is the actual drawing method which inverts the first part of the string
to be written in case of accordance to the compare string of the ListKeyInputHandler.