|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Color | |
org.gnu.gdk | |
org.gnu.gtk |
Uses of Color in org.gnu.gdk |
Fields in org.gnu.gdk declared as Color | |
static Color |
Color.RED
|
static Color |
Color.BLUE
|
static Color |
Color.GREEN
|
static Color |
Color.BLACK
|
static Color |
Color.YELLOW
|
static Color |
Color.WHITE
|
static Color |
Color.ORANGE
|
Methods in org.gnu.gdk with parameters of type Color | |
void |
GC.setForeground(Color color)
Sets the foreground color for the graphics context. |
void |
GC.setBackground(Color color)
Sets the background color for the graphics context. |
void |
GC.setRGBForeground(Color color)
Sets the foreground color using an unallocated color. |
void |
GC.setRGBBackground(Color color)
Sets the background color using an unallocated color. |
boolean |
Colormap.allocateColor(Color color,
boolean writable,
boolean bestMatch)
Allocates a single color from a colormap. |
Constructors in org.gnu.gdk with parameters of type Color | |
Pixmap(Window window,
byte[] data,
int width,
int height,
int depth,
Color fg,
Color bg)
|
|
Pixmap(Window window,
byte[] data,
int width,
int height,
int depth,
Color fg,
Color bg)
|
|
Pixmap(Window window,
Bitmap mask,
Color transparent,
java.lang.String filename)
|
|
Cursor(Pixmap source,
Pixmap mask,
Color fg,
Color bg,
int x,
int y)
Create a new cursor from a pixmap. |
|
Cursor(Pixmap source,
Pixmap mask,
Color fg,
Color bg,
int x,
int y)
Create a new cursor from a pixmap. |
Uses of Color in org.gnu.gtk |
Methods in org.gnu.gtk that return Color | |
Color |
ColorSelection.getCurrentColor()
Returns the color which is set in the widget |
Color |
ColorSelection.getPreviousColor()
Returns the previous color. |
Color |
TextAppearance.getBgColor()
|
Color |
TextAppearance.getFgColor()
|
Methods in org.gnu.gtk with parameters of type Color | |
void |
Widget.setForegroundColor(StateType state,
Color color)
Sets the foreground color for a widget in a particular state. |
void |
Widget.setBackgroundColor(StateType state,
Color color)
Sets the background color for a widget in a particular state. |
void |
Widget.setTextColor(StateType state,
Color color)
Sets the text color for a widget in a particilar state. |
void |
Widget.setBaseColor(StateType state,
Color color)
Sets the base color used for a widget in a particular state. |
void |
ColorSelection.setCurrentColor(Color color)
Sets the current color to be color. |
void |
ColorSelection.setPreviousColor(Color color)
Sets the previous color value. |
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
PREV NEXT | FRAMES NO FRAMES |