|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
StyleContextModel defines the interface for an object that gives informations
about basic attributes for a cell in the grid like the JSmartGrid or a StyleModel like the DefaultStyleModel.
This interface is implemented in the GridContext interface and the JSmartGrid component.
Note: The DefaultGridCellRenderer use a StyleContextModel to setup its graphic attributes.
GridContext,
DefaultGridCellRenderer,
DefaultStyleModel,
JSmartGrid| Method Summary | |
java.awt.Color |
getBackgroundColor()
Returns the background color for the cell. |
javax.swing.border.Border |
getBorder()
Returns the default border for cells. |
java.awt.Color |
getFocusBackgroundColor()
Returns the background color for the cells that have the focus. |
java.awt.Color |
getFocusForegroundColor()
Returns the foreground color for the cells that have the focus. |
javax.swing.border.Border |
getFocusHighlightBorder()
Returns the highlight border for the cells that have the focus. |
java.awt.Font |
getFont()
Returns the font for the cell. |
java.awt.Color |
getForegroundColor()
Returns the foreground color for the cell. |
java.awt.Color |
getSelectionBackgroundColor()
Returns the background color for selected cells. |
javax.swing.border.Border |
getSelectionCellBorder()
Returns the border for the cells that have been selected. |
java.awt.Color |
getSelectionForegroundColor()
Returns the foreground color for selected cells. |
| Method Detail |
public javax.swing.border.Border getBorder()
Border object used for cells.public java.awt.Font getFont()
public java.awt.Color getForegroundColor()
public java.awt.Color getBackgroundColor()
Color object for the background propertypublic java.awt.Color getFocusForegroundColor()
public java.awt.Color getFocusBackgroundColor()
Color object for the background propertypublic javax.swing.border.Border getFocusHighlightBorder()
Border object used for focused cellspublic javax.swing.border.Border getSelectionCellBorder()
Border object used for selected cellspublic java.awt.Color getSelectionForegroundColor()
Color object for the foreground propertypublic java.awt.Color getSelectionBackgroundColor()
Color used for the background of selected list items
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||