public class HTMLAjaxFieldV2 extends HTMLComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AJAX_FIELD_MODULE_NAME
Module name
|
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 |
---|
HTMLAjaxFieldV2(java.lang.String path,
java.lang.String dbclass,
java.lang.String globalkey,
java.lang.String format) |
Modifier and Type | Method and Description |
---|---|
protected void |
compile(ClientBrowser browser)
This is the spot to put all your generation
of the HTML components.
|
int |
getFontSize()
Get Font Size
|
protected void |
iGenerate(ClientBrowser browser,
java.lang.StringBuilder buffer)
This is the method that creates the raw HTML.
|
boolean |
isBold()
Is bold
|
void |
setBold(boolean bold)
Set Bold
|
void |
setFontSize(int fontSize)
Font Size
|
void |
setIncludesTags(boolean includesTags)
Set includes Tags
|
addJavaScript, addJavaScript, addOnLoadScript, appendClassName, checkIsContainer, copyAttributes, doBuildToolTip, fetchStyleProperty, getClassName, getId, getMutableTheme, getParent, getParentPage, getStyleSheet, getTheme, hasTheme, iAddComponent, iAddComponent, iAddedToPage, iAddEvent, iClear, iFindId, iGenerateAttributes, iGenerateAttributesID, iGenerateComponent, iGenerateComponent, iGenerateEvents, iGetComponent, iGetComponentCount, iHasEvent, iRemoveComponent, isCompiled, iSetId, iSetName, iSetStyleId, makeColorID, makeListOfEvents, monitorPage, postCompile, resetParent, setAlignment, setAttribute, setClassName, setHasInitFocus, setParent, setStyleProperty, setTabIndex, touch
public static final java.lang.String AJAX_FIELD_MODULE_NAME
public HTMLAjaxFieldV2(@Nonnull java.lang.String path, @Nonnull java.lang.String dbclass, @Nonnull java.lang.String globalkey, @Nullable java.lang.String format)
path
- dbclass
- globalkey
- format
- protected void compile(@Nonnull ClientBrowser browser)
compile
in class HTMLComponent
browser
- client browserprotected void iGenerate(@Nonnull ClientBrowser browser, @Nonnull java.lang.StringBuilder buffer)
HTMLComponent
iGenerate
in class HTMLComponent
browser
- The target browserbuffer
- The generate HTML@CheckReturnValue public boolean isBold()
@CheckReturnValue public int getFontSize()
public void setBold(boolean bold)
bold
- boldpublic void setIncludesTags(boolean includesTags)
includesTags
- includes tagspublic void setFontSize(@Nonnegative int fontSize)
fontSize
- fontSizestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.