public class HTMLColorInput extends HTMLFormComponent
Modifier and Type | Field and Description |
---|---|
protected boolean |
disabledFg |
protected boolean |
readOnlyFg |
STYLE_STS_FIELD, STYLE_STS_FIELD_IN_TABLE, STYLE_STS_FIELD_PRINTOUT
alignment, alt, bgColor, cancelBubble, events, gMutableTheme, hasInitFocus, id, intStyleSheet, items, name, parent, styleId, styleProperty, tabIndex, toolTip, VALID_NAME_REGEX, VALID_STYLE_REGEX
Constructor and Description |
---|
HTMLColorInput(java.lang.String name)
Creates new HTMLColorInput
|
HTMLColorInput(java.lang.String name,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
void |
addMouseEvent(HTMLMouseEvent me)
add a mouse event to this component
|
void |
addOnChangeEvent(java.lang.String call) |
void |
addOnChangeEvent(java.lang.String call,
java.lang.String script) |
protected void |
compile(ClientBrowser browser)
This is the spot to put all your generation
of the HTML components.
|
java.lang.String |
getName() |
java.lang.String |
getValue() |
boolean |
isDisabled()
Is this is Disabled
|
boolean |
isReadOnly()
Is this is ReadOnly
|
void |
setDisabled(boolean flag)
Disables this input.
|
protected void |
setParent(HTMLComponent parent)
Set the parent of this component internally called by
addComponent
|
void |
setReadOnly(boolean flag)
set Readonly to this input.
|
void |
setShowColorPicker(boolean show) |
void |
setToolTip(java.lang.String toolTip) |
void |
setValue(java.lang.String value) |
addJavaScript, addJavaScript, addOnLoadScript, appendClassName, checkIsContainer, copyAttributes, doBuildToolTip, fetchStyleProperty, getClassName, getId, getMutableTheme, getParent, getParentPage, getStyleSheet, getTheme, hasTheme, iAddComponent, iAddComponent, iAddedToPage, iAddEvent, iClear, iFindId, iGenerate, iGenerateAttributes, iGenerateAttributesID, iGenerateComponent, iGenerateComponent, iGenerateEvents, iGetComponent, iGetComponentCount, iHasEvent, iRemoveComponent, isCompiled, iSetId, iSetName, iSetStyleId, makeColorID, makeListOfEvents, monitorPage, postCompile, resetParent, setAlignment, setAttribute, setClassName, setHasInitFocus, setStyleProperty, setTabIndex, touch
public HTMLColorInput(java.lang.String name)
name
- public HTMLColorInput(java.lang.String name, java.lang.String value)
name
- value
- the valuepublic java.lang.String getName()
getName
in class HTMLFormComponent
public void addOnChangeEvent(java.lang.String call)
addOnChangeEvent
in class HTMLFormComponent
call
- public void addOnChangeEvent(java.lang.String call, java.lang.String script)
addOnChangeEvent
in class HTMLFormComponent
call
- script
- public void addMouseEvent(HTMLMouseEvent me)
me
- The mouse eventpublic void setToolTip(java.lang.String toolTip)
toolTip
- public final void setValue(@Nullable java.lang.String value)
setValue
in class HTMLFormComponent
value
- the value@Nonnull public java.lang.String getValue()
getValue
in class HTMLFormComponent
public void setDisabled(boolean flag)
flag
- public void setReadOnly(boolean flag)
flag
- public boolean isDisabled()
public boolean isReadOnly()
public void setShowColorPicker(boolean show)
show
- protected void setParent(HTMLComponent parent)
HTMLComponent
setParent
in class HTMLComponent
protected void compile(ClientBrowser browser)
HTMLComponent
compile
in class HTMLComponent
browser
- stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.