Package | Description |
---|---|
net.sf.jguiraffe.examples.tutorial.viewset | |
net.sf.jguiraffe.gui.builder.components |
This package defines the part of the builder that deals with components.
|
net.sf.jguiraffe.gui.builder.components.model |
In this package interfaces for specialized component handlers can be found.
|
net.sf.jguiraffe.gui.builder.components.tags |
A package with tag handler classes for creating GUI components.
|
net.sf.jguiraffe.gui.builder.components.tags.table |
A package with tag handler classes for creating table components.
|
net.sf.jguiraffe.gui.builder.window.ctrl |
This package contains classes and interfaces for the implementation of form
controllers.
|
Modifier and Type | Method and Description |
---|---|
Color |
ViewSettings.getBackgroundColor() |
Color |
ViewSettings.getForegroundColor() |
Color |
ViewSettings.getSelectionBackground() |
Color |
ViewSettings.getSelectionForeground() |
Modifier and Type | Method and Description |
---|---|
void |
ViewSettings.setBackgroundColor(Color backgroundColor) |
void |
ViewSettings.setForegroundColor(Color foregroundColor) |
void |
ViewSettings.setSelectionBackground(Color selectionBackground) |
void |
ViewSettings.setSelectionForeground(Color selectionForeground) |
Modifier and Type | Field and Description |
---|---|
static Color |
Color.UNDEFINED
Constant for an undefined color.
|
Modifier and Type | Method and Description |
---|---|
Color |
WidgetHandler.getBackgroundColor()
Returns the background color of the underlying widget.
|
Color |
ColorHelper.NamedColor.getColor()
Returns the associated
Color object. |
Color |
WidgetHandler.getForegroundColor()
Returns the foreground color of the underlying widget.
|
static Color |
ColorHelper.getPredefinedColor(String name)
Returns the predefined color with the given name.
|
static Color |
Color.newInstance(int r,
int g,
int b)
Deprecated.
Use
newRGBInstance() instead. |
static Color |
Color.newLogicInstance(String coldef)
Creates a new instance of
Color based on a logic, text-based
color definition. |
static Color |
Color.newRGBInstance(int r,
int g,
int b)
Creates a new instance of
Color and initializes it with the given
components for the red, green, and blue part. |
static Color |
ColorHelper.resolveColor(String c)
The main method for resolving a color definition.
|
Modifier and Type | Method and Description |
---|---|
void |
WidgetHandler.setBackgroundColor(Color c)
Sets the background color of the underlying widget.
|
void |
WidgetHandler.setForegroundColor(Color c)
Sets the foreground color of the underlying widget.
|
Modifier and Type | Method and Description |
---|---|
Color |
TableHandler.getSelectionBackground()
Returns the current background color of the selection.
|
Color |
TableHandler.getSelectionForeground()
Returns the current foreground color of the selection.
|
Modifier and Type | Method and Description |
---|---|
void |
TableHandler.setSelectionBackground(Color c)
Sets the background color for the selection.
|
void |
TableHandler.setSelectionForeground(Color c)
Sets the foreground color for the selection.
|
Modifier and Type | Method and Description |
---|---|
Color |
ComponentBaseTag.getBackgroundColor()
Returns the background color of this component as a color object.
|
Color |
PanelTag.getColor()
Returns the color for the title text.
|
Color |
ComponentBaseTag.getForegroundColor()
Returns the foreground color of this component as a color object.
|
Modifier and Type | Method and Description |
---|---|
Color |
TableTag.getSelectionBackgroundColor()
Returns the selection background color as
Color object. |
Color |
TableTag.getSelectionForegroundColor()
Returns the selection foreground color as
Color object. |
Modifier and Type | Method and Description |
---|---|
Color |
ColorFieldMarker.getBackgroundColor(FieldValidationStatus status)
Returns the background color for fields with the specified
FieldValidationStatus . |
Color |
ColorFieldMarker.getForegroundColor(FieldValidationStatus status)
Returns the foreground color for fields with the specified
FieldValidationStatus . |
Color |
ColorFieldMarker.getInvalidBackground()
Returns the background color to be set for invalid input fields.
|
Color |
ColorFieldMarker.getInvalidForeground()
Returns the foreground color to be set for invalid input fields.
|
Color |
ColorFieldMarker.getNotVisitedInvalidBackground()
Returns the background color to be set for input fields in the state
not visited, invalid.
|
Color |
ColorFieldMarker.getNotVisitedInvalidForeground()
Returns the foreground color to be set for input fields in the state
not visited, invalid.
|
Color |
ColorFieldMarker.getNotVisitedWarningBackground()
Returns the background color for input fields in the state
not visited,
warning.
|
Color |
ColorFieldMarker.getNotVisitedWarningForeground()
Returns the foreground color for input fields in the state
not visited,
warning.
|
Color |
ColorFieldMarker.getWarningBackground()
Returns the background color for input fields in the state
warning.
|
Color |
ColorFieldMarker.getWarningForeground()
Returns the foreground color for input fields in the state
warning.
|
protected Color |
ColorFieldMarker.getWidgetBackgroundColor(FormController controller,
String field)
Returns the default background color of the specified widget.
|
protected Color |
ColorFieldMarker.getWidgetForegroundColor(FormController controller,
String field)
Returns the default foreground color of the specified widget.
|
Modifier and Type | Method and Description |
---|---|
void |
ColorFieldMarker.setBackgroundColor(FieldValidationStatus status,
Color c)
Sets the background color for fields with the specified
FieldValidationStatus . |
void |
ColorFieldMarker.setForegroundColor(FieldValidationStatus status,
Color c)
Sets the foreground color for fields with the specified
FieldValidationStatus . |
void |
ColorFieldMarker.setInvalidBackground(Color invalidBackground)
Sets the background color for invalid input fields.
|
void |
ColorFieldMarker.setInvalidForeground(Color invalidForeground)
Sets the foreground color for invalid input fields.
|
void |
ColorFieldMarker.setNotVisitedInvalidBackground(Color c)
Sets the background color for input fields in the state not visited,
invalid.
|
void |
ColorFieldMarker.setNotVisitedInvalidForeground(Color c)
Sets the foreground color for input fields in the state not visited,
invalid.
|
void |
ColorFieldMarker.setNotVisitedWarningBackground(Color c)
Sets the background color for input fields in the state not visited,
warning.
|
void |
ColorFieldMarker.setNotVisitedWarningForeground(Color c)
Sets the foreground color for input fields in the state not visited,
warning.
|
void |
ColorFieldMarker.setWarningBackground(Color c)
Sets the background color for input fields in the state warning.
|
void |
ColorFieldMarker.setWarningForeground(Color c)
Sets the foreground color for input fields in the state warning.
|
Copyright © 2016 The JGUIraffe Team. All rights reserved.