org.zkoss.zkex.zul.api
Interface Colorbox

All Superinterfaces:
java.lang.Cloneable, Component, HtmlBasedComponent, Scope, java.io.Serializable, XulElement
All Known Implementing Classes:
Colorbox

public interface Colorbox
extends XulElement

A Colorbox.

Available in ZK PE and ZK EE.

Default HtmlBasedComponent.getZclass(): z-colorbox.

Since:
5.0.0
Author:
sam

Field Summary
 
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 
Method Summary
 java.lang.String getColor()
          Returns the color (in string as #RRGGBB).
 int getRGB()
          Returns the color in int Default: 0x000000
 java.lang.String getValue()
          Returns the value of color Default: #000000
 boolean isDisabled()
          Returns whether it is disabled.
 void setColor(java.lang.String color)
          Sets the color.
 void setDisabled(boolean disabled)
          Sets whether it is disabled.
 void setValue(java.lang.String value)
          Sets the value of color
 
Methods inherited from interface org.zkoss.zul.impl.api.XulElement
getAction, getContext, getCtrlKeys, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip
 
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex
 
Methods inherited from interface org.zkoss.zk.ui.Component
addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, containsVariable, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getDefinition, getDesktop, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getUuid, getVariable, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, setWidgetListener, setWidgetOverride, unsetVariable
 
Methods inherited from interface org.zkoss.zk.ui.ext.Scope
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute
 

Method Detail

setColor

void setColor(java.lang.String color)
Sets the color.

Parameters:
color - in #RRGGBB format (hexdecimal).

getColor

java.lang.String getColor()
Returns the color (in string as #RRGGBB).

Default: #000000


setValue

void setValue(java.lang.String value)
Sets the value of color

Parameters:
value - in #RRGGBB format (hexdecimal).

getValue

java.lang.String getValue()
Returns the value of color

Default: #000000


getRGB

int getRGB()
Returns the color in int

Default: 0x000000


isDisabled

boolean isDisabled()
Returns whether it is disabled.

Default: false.


setDisabled

void setDisabled(boolean disabled)
Sets whether it is disabled.



Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo