|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzk.Object
zk.Widget
zkex.inp.Colorbox
public class Colorbox
A Colorbox used to retrieve an input that the user can select a color.
Default Widget.getZclass(): z-colorbox.
Available in ZK PE and EE
| Field Summary |
|---|
| Fields inherited from class zk.Widget |
|---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
| Fields inherited from class zk.Object |
|---|
$class, $oid |
| Method Summary | |
|---|---|
void |
closePalette()
Close the palette of this colorbox |
void |
closePicker()
Close the colorpicker of this colorbox |
String |
getColor()
Returns the color (in string as #RRGGBB). |
String |
getValue()
Returns the value of color Default: #000000 |
boolean |
isDisabled()
Returns whether it is disabled. |
void |
openPalette()
Open the palette of this colorbox |
void |
openPicker()
Open the colorpicker of this colorbox |
void |
setColor(String color)
Sets the color |
void |
setDisabled(boolean disabled)
Sets whether it is disabled. |
void |
setValue(String value)
Sets the value of color |
| Methods inherited from class zk.Object |
|---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setDisabled(boolean disabled)
disabled - public boolean isDisabled()
Default: false.
public void setColor(String color)
color - in #RRGGBB format (hexdecimal).public String getColor()
Default: #000000
public void setValue(String value)
value - in #RRGGBB format (hexdecimal).setColor(String)public String getValue()
Default: #000000
getColor()public void openPalette()
public void closePalette()
public void openPicker()
public void closePicker()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||