|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.server.AbstractClientConnector
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractColorPicker
com.vaadin.ui.ColorPicker
public class ColorPicker
A class that defines default (button-like) implementation for a color picker component.
ColorPickerArea
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractColorPicker |
---|
AbstractColorPicker.Coordinates2Color, AbstractColorPicker.PopupStyle |
Nested classes/interfaces inherited from interface com.vaadin.ui.Component |
---|
Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener |
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector |
---|
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener |
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable |
---|
Sizeable.Unit |
Field Summary |
---|
Fields inherited from class com.vaadin.ui.AbstractColorPicker |
---|
color, historyVisible, hsvVisible, popupCaption, popupStyle, rgbVisible, STYLENAME_AREA, STYLENAME_BUTTON, STYLENAME_DEFAULT, swatchesVisible, textfieldVisible |
Fields inherited from interface com.vaadin.server.Sizeable |
---|
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS |
Constructor Summary | |
---|---|
ColorPicker()
Instantiates a new color picker. |
|
ColorPicker(java.lang.String popupCaption)
Instantiates a new color picker. |
|
ColorPicker(java.lang.String popupCaption,
com.vaadin.shared.ui.colorpicker.Color initialColor)
Instantiates a new color picker. |
Method Summary | |
---|---|
void |
beforeClientResponse(boolean initial)
Called before the shared state and RPC invocations are sent to the client. |
protected void |
setDefaultStyles()
Sets the default styles of the component |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.vaadin.ui.Component |
---|
getUI |
Methods inherited from interface com.vaadin.server.ClientConnector |
---|
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler |
Methods inherited from interface com.vaadin.shared.Connector |
---|
getConnectorId |
Constructor Detail |
---|
public ColorPicker()
public ColorPicker(java.lang.String popupCaption)
popupCaption
- caption of the color select popuppublic ColorPicker(java.lang.String popupCaption, com.vaadin.shared.ui.colorpicker.Color initialColor)
popupCaption
- caption of the color select popupinitialColor
- the initial colorMethod Detail |
---|
protected void setDefaultStyles()
AbstractColorPicker
setDefaultStyles
in class AbstractColorPicker
public void beforeClientResponse(boolean initial)
ClientConnector
This method must not alter the component hierarchy in any way. Calling
ClientConnector.markAsDirty()
from this method will have no effect.
beforeClientResponse
in interface ClientConnector
beforeClientResponse
in class AbstractComponent
initial
- true
if the client-side connector will be created
and initialized after this method has been invoked.
false
if there is already an initialized
client-side connector.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |