org.gnu.gnome
Class ColorPicker

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.GObject
          extended by org.gnu.gtk.GtkObject
              extended by org.gnu.gtk.Widget
                  extended by org.gnu.gtk.Container
                      extended by org.gnu.gtk.Bin
                          extended by org.gnu.gtk.Button
                              extended by org.gnu.gnome.ColorPicker

Deprecated.

public class ColorPicker
extends org.gnu.gtk.Button

The ColorPicker button pops up a ColorSelectionDialog and allows a color to be selected. The button changes color to match the currently selected color. The colors can be set using doubles - values between 0.0 and 1.0, 8 bit integers - values between 0 and 255, and 16 bit integers - values between 0 and 65535.

See Also:
ColorSelectionDialog

Constructor Summary
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.
ColorPicker(org.gnu.glib.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.
 
Method Summary
 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.
 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.
 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.
 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.
 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.
 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.
 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.
 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.
 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.
 java.lang.Class getEventListenerClass(java.lang.String signal)
          Deprecated.  
 org.gnu.glib.EventType getEventType(java.lang.String signal)
          Deprecated.  
 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.
 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.
 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.
 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.
 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.
 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.
 java.lang.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.
static org.gnu.glib.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.
 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.
 void setAlpha16Bit(int alpha)
          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.
 void setAlpha8Bit(int alpha)
          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.
 void setAlphaDouble(double alpha)
          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.
 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.
 void setBlue16Bit(int color)
          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.
 void setBlue8Bit(int color)
          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.
 void setBlueDouble(double color)
          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.
 void setColor16Bit(int alpha, int blue, int green, int red)
          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.
 void setColor8Bit(int alpha, int blue, int green, int red)
          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.
 void setColorDouble(double alpha, double blue, double green, double red)
          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.
 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.
 void setGreen16Bit(int color)
          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.
 void setGreen8Bit(int color)
          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.
 void setGreenDouble(double color)
          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.
 void setRed16Bit(int color)
          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.
 void setRed8Bit(int color)
          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.
 void setRedDouble(double color)
          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.
 void setTitle(java.lang.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.
 
Methods inherited from class org.gnu.gtk.Button
addListener, click, enter, getButton, getFocusOnClick, getImage, getLabel, getRelief, getUseStock, getUseUnderline, getXAlignment, getYAlignment, leave, press, release, removeListener, setAlignment, setFocusOnClick, setImage, setLabel, setRelief, setUseStock, setUseUnderline
 
Methods inherited from class org.gnu.gtk.Bin
getChild
 
Methods inherited from class org.gnu.gtk.Container
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode
 
Methods inherited from class org.gnu.gtk.Widget
activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight
 
Methods inherited from class org.gnu.gtk.GtkObject
destroy, sink
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorPicker

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


ColorPicker

public ColorPicker(org.gnu.glib.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.

Method Detail

getAlphaDouble

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.

getBlueDouble

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.

getGreenDouble

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.

getRedDouble

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.

getAlpha8Bit

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.

getBlue8Bit

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.

getGreen8Bit

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.

getRed8Bit

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.

getAlpha16Bit

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.

getBlue16Bit

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.

getGreen16Bit

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.

getRed16Bit

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.

getAlphaEnabled

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.

getDitherEnabled

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.

getTitle

public java.lang.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.

setColorDouble

public void setColorDouble(double alpha,
                           double blue,
                           double green,
                           double red)
                    throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if any given value is outside of the valid range 0.0 to 1.0.

setAlphaDouble

public void setAlphaDouble(double alpha)
                    throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if alpha is outside of the valid range 0.0 to 1.0.

setBlueDouble

public void setBlueDouble(double color)
                   throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if color is outside of the valid range 0.0 to 1.0.

setGreenDouble

public void setGreenDouble(double color)
                    throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if color is outside of the valid range 0.0 to 1.0.

setRedDouble

public void setRedDouble(double color)
                  throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if color is outside of the valid range 0.0 to 1.0.

setColor8Bit

public void setColor8Bit(int alpha,
                         int blue,
                         int green,
                         int red)
                  throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if any given value is outside of the valid range 0 to 255.

setAlpha8Bit

public void setAlpha8Bit(int alpha)
                  throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if alpha is outside of the valid range 0 to 255.

setBlue8Bit

public void setBlue8Bit(int color)
                 throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if color is outside of the valid range 0 to 255.

setGreen8Bit

public void setGreen8Bit(int color)
                  throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if color is outside of the valid range 0 to 255.

setRed8Bit

public void setRed8Bit(int color)
                throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if color is outside of the valid range 0 to 255.

setColor16Bit

public void setColor16Bit(int alpha,
                          int blue,
                          int green,
                          int red)
                   throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if any given value is outside of the valid range 0 to 65535.

setAlpha16Bit

public void setAlpha16Bit(int alpha)
                   throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if alpha is outside of the valid range 0 to 65535.

setBlue16Bit

public void setBlue16Bit(int color)
                  throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if color is outside of the valid range 0 to 65535.

setGreen16Bit

public void setGreen16Bit(int color)
                   throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if color is outside of the valid range 0 to 65535.

setRed16Bit

public void setRed16Bit(int color)
                 throws java.lang.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.
Throws:
java.lang.IllegalArgumentException - Thrown if color is outside of the valid range 0 to 65535.

setAlphaEnabled

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.

setDitherEnabled

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.

setTitle

public void setTitle(java.lang.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.

getType

public static org.gnu.glib.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.


addListener

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

removeListener

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)

getEventListenerClass

public java.lang.Class getEventListenerClass(java.lang.String signal)
Deprecated. 
Overrides:
getEventListenerClass in class org.gnu.gtk.Button

getEventType

public org.gnu.glib.EventType getEventType(java.lang.String signal)
Deprecated. 
Overrides:
getEventType in class org.gnu.gtk.Button