Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.bu
Class BuAbstractCellRenderer  view BuAbstractCellRenderer download BuAbstractCellRenderer.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JLabel
                  extended bycom.memoire.bu.BuLabel
                      extended bycom.memoire.bu.BuAbstractCellRenderer
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, javax.swing.ListCellRenderer, java.awt.MenuContainer, java.io.Serializable, javax.swing.SwingConstants, javax.swing.table.TableCellRenderer, javax.swing.tree.TreeCellRenderer
Direct Known Subclasses:
BuExplorer.FileCR, BuExplorer.FilterCR, BuLookPreferencesPanel.XCBCR, BuPreviewFrame.PCR, BuTableCellRenderer

public class BuAbstractCellRenderer
extends BuLabel
implements javax.swing.ListCellRenderer, javax.swing.tree.TreeCellRenderer, javax.swing.table.TableCellRenderer


Nested Class Summary
 
Nested classes inherited from class javax.swing.JLabel
javax.swing.JLabel.AccessibleJLabel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static int COMBOBOX
           
private static javax.swing.ListCellRenderer COMBOBOXCR
           
protected  boolean darkerOddLines_
           
protected  javax.swing.JLabel delegate_
           
static int LIST
           
private static javax.swing.ListCellRenderer LISTCR
           
protected static javax.swing.border.Border NO_FOCUS_BORDER
           
static int TABLE
           
private static javax.swing.table.TableCellRenderer TABLECR
           
static int TREE
           
private static javax.swing.tree.TreeCellRenderer TREECR
           
protected  int type_
           
 
Fields inherited from class javax.swing.JLabel
labelFor
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
protected BuAbstractCellRenderer(int _type)
           
 
Method Summary
private static java.awt.Color darken(java.awt.Color _c)
           
 void doLayout()
          Layout the components in this container.
 void firePropertyChange(java.lang.String _name, boolean _old, boolean _new)
          A variant of firePropertyChange(String,Object,Object) 55 for properties with boolean values.
 void firePropertyChange(java.lang.String _name, byte _old, byte _new)
          Report a change in a bound property to any registered property listeners.
 void firePropertyChange(java.lang.String _name, char _old, char _new)
          A variant of firePropertyChange(String,Object,Object) 55 for properties with char values.
 void firePropertyChange(java.lang.String _name, double _old, double _new)
          Report a change in a bound property to any registered property listeners.
 void firePropertyChange(java.lang.String _name, float _old, float _new)
          Report a change in a bound property to any registered property listeners.
 void firePropertyChange(java.lang.String _name, int _old, int _new)
          A variant of firePropertyChange(String,Object,Object) 55 for properties with int values.
 void firePropertyChange(java.lang.String _name, long _old, long _new)
          Report a change in a bound property to any registered property listeners.
protected  void firePropertyChange(java.lang.String _name, java.lang.Object _old, java.lang.Object _new)
          Report a change in a bound property to any registered property listeners.
 void firePropertyChange(java.lang.String _name, short _old, short _new)
          Report a change in a bound property to any registered property listeners.
 java.awt.Color getBackground()
          Returns this component's background color.
static javax.swing.ListCellRenderer getDefaultComboBoxCellRenderer()
           
static javax.swing.ListCellRenderer getDefaultListCellRenderer()
           
static javax.swing.table.TableCellRenderer getDefaultTableCellRenderer()
           
static javax.swing.tree.TreeCellRenderer getDefaultTreeCellRenderer()
           
 javax.swing.Icon getDisabledIcon()
          This method returns the disabled icon.
 int getDisplayedMnemonic()
          This method returns the keycode that is used for the label's mnemonic.
 java.awt.Color getForeground()
          Returns this component's foreground color.
 int getHorizontalAlignment()
          This method returns the horziontal alignment of the label.
 int getHorizontalTextPosition()
          This method returns the horizontal text position of the label.
 javax.swing.Icon getIcon()
          This method returns the active icon.
 int getIconTextGap()
          This method returns the gap between the icon and the text.
 java.awt.Component getListCellRendererComponent(javax.swing.JList _list, java.lang.Object _value, int _row, boolean _selected, boolean _focus)
           
 java.awt.Dimension getMaximumSize()
          Get the component's maximum size.
 java.awt.Dimension getMinimumSize()
          Get the component's minimum size.
 java.awt.Container getParent()
          Returns the parent of this component.
 java.awt.Dimension getPreferredSize()
          Get the component's preferred size.
protected  java.awt.Component getRealRenderer(javax.swing.JComponent _comp, java.lang.Object _value, boolean _selected, boolean _expanded, boolean _leaf, int _row, int _column, boolean _focus)
           
 java.awt.Component getTableCellRendererComponent(javax.swing.JTable _table, java.lang.Object _value, boolean _selected, boolean _focus, int _row, int _column)
          Get table cell renderer component
 java.lang.String getText()
          This method returns the label text.
 java.awt.Component getTreeCellRendererComponent(javax.swing.JTree _tree, java.lang.Object _value, boolean _selected, boolean _expanded, boolean _leaf, int _row, boolean _focus)
          Returns a component that has been configured to display one element (or node) in a javax.swing.JTree component.
 int getVerticalAlignment()
          This method returns the vertical alignment of the label.
 int getVerticalTextPosition()
          This method returns the vertical text position of the label.
 void invalidate()
          Invalidates this container to indicate that it (and all parent containers) need to be laid out.
 boolean isDarkerOddLines()
           
 boolean isDoubleBuffered()
          Get the value of the JComponent.doubleBuffered>JComponent.doubleBuffered 55 property.
 void paint(java.awt.Graphics _g)
          Paint the component.
 void revalidate()
          Queue a an invalidation and revalidation of this component, using RepaintManager.addInvalidComponent(javax.swing.JComponent)>RepaintManager.addInvalidComponent(javax.swing.JComponent) 55 .
 void setBackground(java.awt.Color _color)
          Set the value of the background property.
 void setBounds(int _x, int _y, int _w, int _h)
          Sets the bounding rectangle for this component to the specified values.
 void setDarkerOddLines(boolean _darkerOddLines)
           
 void setDisabledIcon(javax.swing.Icon _icon)
          This method changes the "disabledIcon" property.
 void setDisplayedMnemonic(int _mnemonic)
          This method sets the keycode that will be the label's mnemonic.
 void setDoubleBuffered(boolean _state)
          Set the value of the JComponent.doubleBuffered>JComponent.doubleBuffered 55 property.
 void setForeground(java.awt.Color _color)
          Set the value of the foreground property.
 void setHorizontalAlignment(int _halign)
          This method changes the "horizontalAlignment" property.
 void setHorizontalTextPosition(int _htp)
          This method changes the "horizontalTextPosition" property of the label.
 void setIcon(javax.swing.Icon _icon)
          This method changes the "icon" property.
 void setIconTextGap(int _itg)
          This method changes the "iconTextGap" property.
 void setMaximumSize(java.awt.Dimension _size)
          Set the value of the JComponent.maximumSize>JComponent.maximumSize 55 property.
 void setMinimumSize(java.awt.Dimension _size)
          Set the value of the JComponent.minimumSize>JComponent.minimumSize 55 property.
 void setPreferredSize(java.awt.Dimension _size)
          Set the value of the JComponent.preferredSize>JComponent.preferredSize 55 property.
 void setText(java.lang.String _text)
          This method changes the "text" property.
 void setVerticalAlignment(int _halign)
          This method changes the "verticalAlignment" property of the label.
 void setVerticalTextPosition(int _htp)
          This method changes the "verticalTextPosition" property of the label.
 void validate()
          Re-lays out the components in this container.
 
Methods inherited from class com.memoire.bu.BuLabel
getToolTipLocation
 
Methods inherited from class javax.swing.JLabel
checkHorizontalKey, checkVerticalKey, getAccessibleContext, getDisplayedMnemonicIndex, getLabelFor, getUI, getUIClassID, imageUpdate, paramString, setDisplayedMnemonic, setDisplayedMnemonicIndex, setFont, setLabelFor, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDefaultLocale, setEnabled, setInputMap, setInputVerifier, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusDownCycle, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LIST

public static final int LIST
See Also:
Constant Field Values

COMBOBOX

public static final int COMBOBOX
See Also:
Constant Field Values

TREE

public static final int TREE
See Also:
Constant Field Values

TABLE

public static final int TABLE
See Also:
Constant Field Values

NO_FOCUS_BORDER

protected static final javax.swing.border.Border NO_FOCUS_BORDER

type_

protected int type_

darkerOddLines_

protected boolean darkerOddLines_

delegate_

protected javax.swing.JLabel delegate_

LISTCR

private static final javax.swing.ListCellRenderer LISTCR

COMBOBOXCR

private static final javax.swing.ListCellRenderer COMBOBOXCR

TREECR

private static final javax.swing.tree.TreeCellRenderer TREECR

TABLECR

private static final javax.swing.table.TableCellRenderer TABLECR
Constructor Detail

BuAbstractCellRenderer

protected BuAbstractCellRenderer(int _type)
Method Detail

isDarkerOddLines

public boolean isDarkerOddLines()

setDarkerOddLines

public void setDarkerOddLines(boolean _darkerOddLines)

paint

public void paint(java.awt.Graphics _g)
Description copied from class: javax.swing.JComponent

Paint the component. This is a delicate process, and should only be called from the repaint thread, under control of the javax.swing.RepaintManager. Client code should usually call Component.repaint()>Component.repaint() 55 to trigger painting.

The body of the paint call involves calling JComponent.paintComponent(java.awt.Graphics)>JComponent.paintComponent(java.awt.Graphics) 55 , JComponent.paintBorder(java.awt.Graphics)>JComponent.paintBorder(java.awt.Graphics) 55 , and JComponent.paintChildren(java.awt.Graphics)>JComponent.paintChildren(java.awt.Graphics) 55 in order. If you want to customize painting behavior, you should override one of these methods rather than paint.

For more details on the painting sequence, see this article.

Overrides:
paint in class BuLabel

getBackground

public java.awt.Color getBackground()
Description copied from class: java.awt.Component
Returns this component's background color. If not set, this is inherited from the parent.


setBackground

public void setBackground(java.awt.Color _color)
Description copied from class: javax.swing.JComponent
Set the value of the background property.


getForeground

public java.awt.Color getForeground()
Description copied from class: java.awt.Component
Returns this component's foreground color. If not set, this is inherited from the parent.


setForeground

public void setForeground(java.awt.Color _color)
Description copied from class: javax.swing.JComponent
Set the value of the foreground property.


setBounds

public void setBounds(int _x,
                      int _y,
                      int _w,
                      int _h)
Description copied from class: java.awt.Component
Sets the bounding rectangle for this component to the specified values. Note that these coordinates are relative to the parent, not to the screen.


isDoubleBuffered

public boolean isDoubleBuffered()
Description copied from class: javax.swing.JComponent
Get the value of the JComponent.doubleBuffered>JComponent.doubleBuffered 55 property.


setDoubleBuffered

public void setDoubleBuffered(boolean _state)
Description copied from class: javax.swing.JComponent
Set the value of the JComponent.doubleBuffered>JComponent.doubleBuffered 55 property.


getParent

public java.awt.Container getParent()
Description copied from class: java.awt.Component
Returns the parent of this component.


getIcon

public javax.swing.Icon getIcon()
Description copied from class: javax.swing.JLabel
This method returns the active icon. The active icon is painted when the label is enabled.


setIcon

public void setIcon(javax.swing.Icon _icon)
Description copied from class: javax.swing.JLabel
This method changes the "icon" property. This icon (the active icon) will be the one displayed when the label is enabled.


getDisabledIcon

public javax.swing.Icon getDisabledIcon()
Description copied from class: javax.swing.JLabel
This method returns the disabled icon. The disabled icon is painted when the label is disabled. If the disabled icon is null and the active icon is an ImageIcon, this method returns a grayed version of the icon. The grayed version of the icon becomes the disabledIcon.


setDisabledIcon

public void setDisabledIcon(javax.swing.Icon _icon)
Description copied from class: javax.swing.JLabel
This method changes the "disabledIcon" property. This icon (the disabled icon) will be the one displayed when the label is disabled.


getDisplayedMnemonic

public int getDisplayedMnemonic()
Description copied from class: javax.swing.JLabel
This method returns the keycode that is used for the label's mnemonic.


setDisplayedMnemonic

public void setDisplayedMnemonic(int _mnemonic)
Description copied from class: javax.swing.JLabel
This method sets the keycode that will be the label's mnemonic. If the label is used as a label for another component, the label will give focus to that component when the mnemonic is activated.


getHorizontalAlignment

public int getHorizontalAlignment()
Description copied from class: javax.swing.JLabel
This method returns the horziontal alignment of the label.


setHorizontalAlignment

public void setHorizontalAlignment(int _halign)
Description copied from class: javax.swing.JLabel
This method changes the "horizontalAlignment" property. The horizontal alignment determines where the label will be placed horizontally.


getHorizontalTextPosition

public int getHorizontalTextPosition()
Description copied from class: javax.swing.JLabel
This method returns the horizontal text position of the label.


setHorizontalTextPosition

public void setHorizontalTextPosition(int _htp)
Description copied from class: javax.swing.JLabel
This method changes the "horizontalTextPosition" property of the label. The horizontal text position determines where the text will be placed horizontally relative to the icon.


getIconTextGap

public int getIconTextGap()
Description copied from class: javax.swing.JLabel
This method returns the gap between the icon and the text.


setIconTextGap

public void setIconTextGap(int _itg)
Description copied from class: javax.swing.JLabel
This method changes the "iconTextGap" property. The iconTextGap determines how much space there is between the icon and the text.


getMinimumSize

public java.awt.Dimension getMinimumSize()
Description copied from class: javax.swing.JComponent
Get the component's minimum size. If the JComponent.minimumSize>JComponent.minimumSize 55 property has been explicitly set, it is returned. If the JComponent.minimumSize>JComponent.minimumSize 55 property has not been set but the JComponent.ui>JComponent.ui 55 property has been, the result of ComponentUI.getMinimumSize(javax.swing.JComponent)>ComponentUI.getMinimumSize(javax.swing.JComponent) 55 is returned. If neither property has been set, the result of Container.getMinimumSize()>Container.getMinimumSize() 55 is returned.


setMinimumSize

public void setMinimumSize(java.awt.Dimension _size)
Description copied from class: javax.swing.JComponent
Set the value of the JComponent.minimumSize>JComponent.minimumSize 55 property. The passed value is copied, the later direct changes on the argument have no effect on the property value.


getMaximumSize

public java.awt.Dimension getMaximumSize()
Description copied from class: javax.swing.JComponent
Get the component's maximum size. If the JComponent.maximumSize>JComponent.maximumSize 55 property has been explicitly set, it is returned. If the JComponent.maximumSize>JComponent.maximumSize 55 property has not been set but the JComponent.ui>JComponent.ui 55 property has been, the result of ComponentUI.getMaximumSize(javax.swing.JComponent)>ComponentUI.getMaximumSize(javax.swing.JComponent) 55 is returned. If neither property has been set, the result of Container.getMaximumSize()>Container.getMaximumSize() 55 is returned.


setMaximumSize

public void setMaximumSize(java.awt.Dimension _size)
Description copied from class: javax.swing.JComponent
Set the value of the JComponent.maximumSize>JComponent.maximumSize 55 property. The passed value is copied, the later direct changes on the argument have no effect on the property value.


getPreferredSize

public java.awt.Dimension getPreferredSize()
Description copied from class: javax.swing.JComponent
Get the component's preferred size. If the JComponent.preferredSize>JComponent.preferredSize 55 property has been explicitly set, it is returned. If the JComponent.preferredSize>JComponent.preferredSize 55 property has not been set but the JComponent.ui>JComponent.ui 55 property has been, the result of ComponentUI.getPreferredSize(javax.swing.JComponent)>ComponentUI.getPreferredSize(javax.swing.JComponent) 55 is returned. If neither property has been set, the result of Container.getPreferredSize()>Container.getPreferredSize() 55 is returned.


setPreferredSize

public void setPreferredSize(java.awt.Dimension _size)
Description copied from class: javax.swing.JComponent
Set the value of the JComponent.preferredSize>JComponent.preferredSize 55 property. The passed value is copied, the later direct changes on the argument have no effect on the property value.


getText

public java.lang.String getText()
Description copied from class: javax.swing.JLabel
This method returns the label text.


setText

public void setText(java.lang.String _text)
Description copied from class: javax.swing.JLabel
This method changes the "text" property. The given text will be painted in the label.

Overrides:
setText in class BuLabel

getVerticalAlignment

public int getVerticalAlignment()
Description copied from class: javax.swing.JLabel
This method returns the vertical alignment of the label.


setVerticalAlignment

public void setVerticalAlignment(int _halign)
Description copied from class: javax.swing.JLabel
This method changes the "verticalAlignment" property of the label. The vertical alignment determines how where the label will be placed vertically. If the alignment is not valid, it will default to the center.


getVerticalTextPosition

public int getVerticalTextPosition()
Description copied from class: javax.swing.JLabel
This method returns the vertical text position of the label.


setVerticalTextPosition

public void setVerticalTextPosition(int _htp)
Description copied from class: javax.swing.JLabel
This method changes the "verticalTextPosition" property of the label. The vertical text position determines where the text will be placed vertically relative to the icon.


doLayout

public void doLayout()
Description copied from class: java.awt.Container
Layout the components in this container.


revalidate

public void revalidate()
Description copied from class: javax.swing.JComponent
Queue a an invalidation and revalidation of this component, using RepaintManager.addInvalidComponent(javax.swing.JComponent)>RepaintManager.addInvalidComponent(javax.swing.JComponent) 55 .


invalidate

public void invalidate()
Description copied from class: java.awt.Container
Invalidates this container to indicate that it (and all parent containers) need to be laid out.


validate

public void validate()
Description copied from class: java.awt.Container
Re-lays out the components in this container.


firePropertyChange

protected void firePropertyChange(java.lang.String _name,
                                  java.lang.Object _old,
                                  java.lang.Object _new)
Description copied from class: java.awt.Component
Report a change in a bound property to any registered property listeners.


firePropertyChange

public void firePropertyChange(java.lang.String _name,
                               byte _old,
                               byte _new)
Description copied from class: java.awt.Component
Report a change in a bound property to any registered property listeners.


firePropertyChange

public void firePropertyChange(java.lang.String _name,
                               char _old,
                               char _new)
Description copied from class: javax.swing.JComponent
A variant of Component.firePropertyChange(String,Object,Object)>Component.firePropertyChange(String,Object,Object) 55 for properties with char values.


firePropertyChange

public void firePropertyChange(java.lang.String _name,
                               short _old,
                               short _new)
Description copied from class: java.awt.Component
Report a change in a bound property to any registered property listeners.


firePropertyChange

public void firePropertyChange(java.lang.String _name,
                               int _old,
                               int _new)
Description copied from class: javax.swing.JComponent
A variant of Component.firePropertyChange(String,Object,Object)>Component.firePropertyChange(String,Object,Object) 55 for properties with int values.


firePropertyChange

public void firePropertyChange(java.lang.String _name,
                               long _old,
                               long _new)
Description copied from class: java.awt.Component
Report a change in a bound property to any registered property listeners.


firePropertyChange

public void firePropertyChange(java.lang.String _name,
                               float _old,
                               float _new)
Description copied from class: java.awt.Component
Report a change in a bound property to any registered property listeners.


firePropertyChange

public void firePropertyChange(java.lang.String _name,
                               double _old,
                               double _new)
Description copied from class: java.awt.Component
Report a change in a bound property to any registered property listeners.


firePropertyChange

public void firePropertyChange(java.lang.String _name,
                               boolean _old,
                               boolean _new)
Description copied from class: javax.swing.JComponent
A variant of Component.firePropertyChange(String,Object,Object)>Component.firePropertyChange(String,Object,Object) 55 for properties with boolean values.


getListCellRendererComponent

public java.awt.Component getListCellRendererComponent(javax.swing.JList _list,
                                                       java.lang.Object _value,
                                                       int _row,
                                                       boolean _selected,
                                                       boolean _focus)
Specified by:
getListCellRendererComponent in interface javax.swing.ListCellRenderer

getTreeCellRendererComponent

public java.awt.Component getTreeCellRendererComponent(javax.swing.JTree _tree,
                                                       java.lang.Object _value,
                                                       boolean _selected,
                                                       boolean _expanded,
                                                       boolean _leaf,
                                                       int _row,
                                                       boolean _focus)
Description copied from interface: javax.swing.tree.TreeCellRenderer
Returns a component that has been configured to display one element (or node) in a javax.swing.JTree component. The arguments to this method are used to pass in the value and state of the element to be rendered.

Specified by:
getTreeCellRendererComponent in interface javax.swing.tree.TreeCellRenderer

getTableCellRendererComponent

public java.awt.Component getTableCellRendererComponent(javax.swing.JTable _table,
                                                        java.lang.Object _value,
                                                        boolean _selected,
                                                        boolean _focus,
                                                        int _row,
                                                        int _column)
Description copied from interface: javax.swing.table.TableCellRenderer
Get table cell renderer component

Specified by:
getTableCellRendererComponent in interface javax.swing.table.TableCellRenderer

getRealRenderer

protected java.awt.Component getRealRenderer(javax.swing.JComponent _comp,
                                             java.lang.Object _value,
                                             boolean _selected,
                                             boolean _expanded,
                                             boolean _leaf,
                                             int _row,
                                             int _column,
                                             boolean _focus)

darken

private static final java.awt.Color darken(java.awt.Color _c)

getDefaultListCellRenderer

public static final javax.swing.ListCellRenderer getDefaultListCellRenderer()

getDefaultComboBoxCellRenderer

public static final javax.swing.ListCellRenderer getDefaultComboBoxCellRenderer()

getDefaultTreeCellRenderer

public static final javax.swing.tree.TreeCellRenderer getDefaultTreeCellRenderer()

getDefaultTableCellRenderer

public static final javax.swing.table.TableCellRenderer getDefaultTableCellRenderer()