Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Button
org.gnu.gnome.ColorPicker
public class ColorPicker
extends Button
org.gnu.gtk.ColorSelectionDialog
Constructor Summary | |
| |
|
Method Summary | |
void |
|
int |
|
int |
|
double |
|
boolean |
|
int |
|
int |
|
double |
|
boolean |
|
Class |
|
EventType |
|
int |
|
int |
|
double |
|
int |
|
int |
|
double |
|
String |
|
static Type |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public ColorPicker()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Creates a new instance of ColorPicker
public ColorPicker(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Construct a ColorPicker using a handle to a native resource.
public void addListener(ColorPickerListener listener)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Register an object to handle ColorPicker events.
- See Also:
ColorPickerListener
public int getAlpha16Bit()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the alpha of the color as a 16 bit value between 0 and 65535.
- Returns:
- The alpha of the color.
public int getAlpha8Bit()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the alpha of the color as a 8 bit value between 0 and 255.
- Returns:
- The alpha of the color.
public double getAlphaDouble()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the alpha of the color as a double value between 0.0 and 1.0.
- Returns:
- The alpha of the color.
public boolean getAlphaEnabled()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Returns whether ColorPicker uses alpha.
- Returns:
- True if alpha is used. Otherwise, false.
public int getBlue16Bit()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the blue element of the color as a 16 bit value between 0 and 65535.
- Returns:
- The blue element of the color.
public int getBlue8Bit()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the blue element of the color as a 8 bit value between 0 and 255.
- Returns:
- The blue element of the color.
public double getBlueDouble()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the blue element of the color as a double value between 0.0 and 1.0.
- Returns:
- The blue element of the color.
public boolean getDitherEnabled()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Returns whether ColorPicker uses dither.
- Returns:
- True if dither is used. Otherwise, false.
public Class getEventListenerClass(String signal)
public EventType getEventType(String signal)
public int getGreen16Bit()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the green element of the color as a double value between 0 and 65535.
- Returns:
- The green element of the color.
public int getGreen8Bit()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the green element of the color as a double value between 0 and 255.
- Returns:
- The green element of the color.
public double getGreenDouble()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the green element of the color as a double value between 0.0 and 1.0.
- Returns:
- The green element of the color.
public int getRed16Bit()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the red element of the color as a double value between 0 and 65535.
- Returns:
- The red element of the color.
public int getRed8Bit()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the red element of the color as a double value between 0 and 255.
- Returns:
- The red element of the color.
public double getRedDouble()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the red element of the color as a double value between 0.0 and 1.0.
- Returns:
- The red element of the color.
public String getTitle()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Gets the title of the color picker.
- Returns:
- The title for the color picker.
public static Type getType()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.
public void removeListener(ColorPickerListener listener)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Removes a listener
- See Also:
addListener(ColorPickerListener)
public void setAlpha16Bit(int alpha) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the alpha of the color as a 16 bit value between 0 and 65535.
- Parameters:
alpha
- The alpha of the color.
public void setAlpha8Bit(int alpha) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the alpha of the color as a 8 bit value between 0 and 255.
- Parameters:
alpha
- The alpha of the color.
public void setAlphaDouble(double alpha) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the alpha of the color as a double value between 0.0 and 1.0.
- Parameters:
alpha
- The alpha of the color.
public void setAlphaEnabled(boolean enable)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Sets whether ColorPicker is to use alpha.
- Parameters:
enable
- True to use alpha. Otherwise, false.
public void setBlue16Bit(int color) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the blue element of the color as a 16 bit value between 0 and 65535.
- Parameters:
color
- The blue element of the color.
public void setBlue8Bit(int color) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the blue element of the color as a 8 bit value between 0 and 255.
- Parameters:
color
- The blue element of the color.
public void setBlueDouble(double color) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the blue element of the color as a double value between 0.0 and 1.0.
- Parameters:
color
- The blue element of the color.
public void setColor16Bit(int alpha, int blue, int green, int red) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
A shortcut method to set all the color values with one call. All values must be a integer value between 0 and 65535.
- Parameters:
alpha
- The alpha of the color.blue
- The blue element of the color.green
- The green element of the color.red
- The red element of the color.
public void setColor8Bit(int alpha, int blue, int green, int red) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
A shortcut method to set all the color values with one call. All values must be a integer value between 0 and 255.
- Parameters:
alpha
- The alpha of the color.blue
- The blue element of the color.green
- The green element of the color.red
- The red element of the color.
public void setColorDouble(double alpha, double blue, double green, double red) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
A shortcut method to set all the color values with one call. All values must be a double value between 0.0 and 1.0.
- Parameters:
alpha
- The alpha of the color.blue
- The blue element of the color.green
- The green element of the color.red
- The red element of the color.
public void setDitherEnabled(boolean enable)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Sets whether ColorPicker is to use dither.
- Parameters:
enable
- True to use dither. Otherwise, false.
public void setGreen16Bit(int color) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the green element of the color as a integer value between 0 and 65535.
- Parameters:
color
- The green element of the color.
public void setGreen8Bit(int color) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the green element of the color as a integer value between 0 and 255.
- Parameters:
color
- The green element of the color.
public void setGreenDouble(double color) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the green element of the color as a double value between 0.0 and 1.0.
- Parameters:
color
- The green element of the color.
public void setRed16Bit(int color) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the red element of the color as a integer value between 0 and 65535.
- Parameters:
color
- The red element of the color.
public void setRed8Bit(int color) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the red element of the color as a integer value between 0 and 255.
- Parameters:
color
- The red element of the color.
public void setRedDouble(double color) throws IllegalArgumentException
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the red element of the color as a double value between 0.0 and 1.0.
- Parameters:
color
- The red element of the color.
public void setTitle(String title)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Sets the title of the color picker.
- Parameters:
title
- The title for the color picker.