|
|||||||||
| Home >> All >> org >> gui4j >> core >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.gui4j.core.swing
Class BooleanTableCellRenderer

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
javax.swing.JCheckBox
org.gui4j.core.swing.BooleanTableCellRenderer
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.ItemSelectable, java.awt.MenuContainer, java.io.Serializable, javax.swing.SwingConstants, javax.swing.table.TableCellRenderer
- public class BooleanTableCellRenderer
- extends javax.swing.JCheckBox
- implements javax.swing.table.TableCellRenderer
- extends javax.swing.JCheckBox
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JCheckBox |
javax.swing.JCheckBox.AccessibleJCheckBox |
| Nested classes inherited from class javax.swing.JToggleButton |
javax.swing.JToggleButton.AccessibleJToggleButton, javax.swing.JToggleButton.ToggleButtonModel |
| Nested classes inherited from class javax.swing.AbstractButton |
javax.swing.AbstractButton.AccessibleAbstractButton, javax.swing.AbstractButton.ButtonChangeListener |
| 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 | |
private javax.swing.border.Border |
noFocusBorder
|
private java.awt.Color |
unselectedBackground
|
| Fields inherited from class javax.swing.JCheckBox |
BORDER_PAINTED_FLAT_CHANGED_PROPERTY |
| 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 | |
BooleanTableCellRenderer(javax.swing.border.Border noFocusBorder)
|
|
| Method Summary | |
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Get table cell renderer component |
java.awt.Color |
getUnselectedBackground()
This method returns the background color to use for an unselected table cell. |
void |
setUnselectedBackground(java.awt.Color unselectedBackground)
|
| Methods inherited from class javax.swing.JCheckBox |
getAccessibleContext, getUIClassID, isBorderPaintedFlat, paramString, setBorderPaintedFlat |
| Methods inherited from class javax.swing.JToggleButton |
updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
noFocusBorder
private final javax.swing.border.Border noFocusBorder
unselectedBackground
private java.awt.Color unselectedBackground
| Constructor Detail |
BooleanTableCellRenderer
public BooleanTableCellRenderer(javax.swing.border.Border noFocusBorder)
| Method Detail |
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
- Description copied from interface:
javax.swing.table.TableCellRenderer - Get table cell renderer component
- Specified by:
getTableCellRendererComponentin interfacejavax.swing.table.TableCellRenderer
setUnselectedBackground
public void setUnselectedBackground(java.awt.Color unselectedBackground)
getUnselectedBackground
public java.awt.Color getUnselectedBackground()
- This method returns the background color to use for an unselected table cell.
This method is provided for custom swing UI delegates that need to know the
original background color, e.g. for rendering the checkbox icon independently
from the cell being selected or not.
|
|||||||||
| Home >> All >> org >> gui4j >> core >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC