|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.controls.DefaultLabelColorScheme
public class DefaultLabelColorScheme
DefaultLabelColorScheme uses colors that are appropriate for rendering a JSelectableLabel in a JTree.
| Field Summary | |
|---|---|
protected java.awt.Color |
_backgroundNonSelectionColor |
protected java.awt.Color |
_backgroundSelectionColor |
protected java.awt.Color |
_borderSelectionColor |
protected java.awt.Color |
_textNonSelectionColor |
protected java.awt.Color |
_textSelectionColor |
| Constructor Summary | |
|---|---|
DefaultLabelColorScheme() |
|
| Method Summary | |
|---|---|
protected void |
_loadColors() |
java.awt.Color |
getBackgroundNonSelectionColor()Returns the Color to be used for the background when the label is not selected. |
java.awt.Color |
getBackgroundSelectionColor()Returns the Color to be used for the background when the label is selected. |
java.awt.Color |
getBorderSelectionColor()Returns the Color to be used for the border around the selection when the label is selected. |
java.awt.Color |
getTextNonSelectionColor()Returns the Color to be used for text when the label is not selected. |
java.awt.Color |
getTextSelectionColor()Returns the Color to be used for text when the label is selected. |
void |
updateUI()The JComponent subclass that uses the LabelColorScheme should call this updateUI() method when its own updateUI() method is called. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.awt.Color _textSelectionColor
protected java.awt.Color _textNonSelectionColor
protected java.awt.Color _backgroundSelectionColor
protected java.awt.Color _backgroundNonSelectionColor
protected java.awt.Color _borderSelectionColor
| Constructor Detail |
|---|
public DefaultLabelColorScheme()
| Method Detail |
|---|
public java.awt.Color getTextSelectionColor()
LabelColorSchemeColor to be used for text when the label is selected.getTextSelectionColor in interface LabelColorSchemepublic java.awt.Color getTextNonSelectionColor()
LabelColorSchemeColor to be used for text when the label is not selected.getTextNonSelectionColor in interface LabelColorSchemepublic java.awt.Color getBackgroundSelectionColor()
LabelColorSchemeColor to be used for the background when the label is selected.getBackgroundSelectionColor in interface LabelColorSchemepublic java.awt.Color getBackgroundNonSelectionColor()
LabelColorSchemeColor to be used for the background when the label is not selected.getBackgroundNonSelectionColor in interface LabelColorSchemepublic java.awt.Color getBorderSelectionColor()
LabelColorSchemeColor to be used for the border around the selection when the label is selected.getBorderSelectionColor in interface LabelColorSchemepublic void updateUI()
LabelColorSchemeJComponent subclass that uses the LabelColorScheme should call this updateUI() method when its own updateUI() method is called. This is so that the color scheme can be updated when the user changes the look-and-feel.updateUI in interface LabelColorSchemeprotected void _loadColors()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||