Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
public class ColorButton
extends Button
Constructor Summary | |
| |
| |
|
Method Summary | |
void |
|
int |
|
Color |
|
static ColorButton |
|
Class |
|
EventType |
|
String |
|
boolean |
|
void |
|
void |
|
void | |
void |
|
void |
|
Methods inherited from class org.gnu.gtk.Button | |
addListener , click , enter , getButton , getEventListenerClass , getEventType , getFocusOnClick , getImage , getLabel , getRelief , getType , getUseStock , getUseUnderline , getXAlignment , getYAlignment , leave , press , release , removeListener , setAlignment , setFocusOnClick , setImage , setLabel , setRelief , setUseStock , setUseUnderline |
Methods inherited from class org.gnu.gtk.Container | |
add , addListener , getBooleanChildProperty , getBorderWidth , getChildProperty , getChildren , getEventListenerClass , getEventType , getIntChildProperty , getResizeMode , getType , remove , removeListener , resizeChildren , setBooleanChildProperty , setBorderWidth , setChildProperty , setIntChildProperty , setResizeMode |
public ColorButton()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Create a new ColorButton.
public ColorButton(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
For internal use by Java-Gnome only.
public ColorButton(Color color)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Create a new ColorButton initialized with the provided color.
- Parameters:
color
- A Color to set the current color with.
public void addListener(ColorButtonListener listener)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Register an object to handle dialog events.
- See Also:
ColorButtonListener
public int getAlpha()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns the current alpha value.
public Color getColor()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns the current color value.
public static ColorButton getColorButton(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
For internal use by Java-Gnome only.
public Class getEventListenerClass(String signal)
- Overrides:
- getEventListenerClass in interface Button
public String getTitle()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns the title from the ColorSelectionDialog.
public boolean getUseAlpha()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns whether or not the ColorButton is using the alpha channel.
public void removeListener(ColorButtonListener listener)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Removes a listener
- See Also:
addListener(ColorButtonListener)
public void setAlpha(int alpha)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the current opacity to be alpha
- Parameters:
alpha
-
public void setColor(Color color)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Set the current color for the widget.
- Parameters:
color
-
public void setTitle(String title)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the color for the ColorSelectionDialog.
- Parameters:
title
-
public void setUseAlpha(boolean useAlpha)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets whether or not the ColorButton should use the alpha channel.
- Parameters:
useAlpha
-