public class HTMLImportFile extends HTMLFormComponent
Modifier and Type | Field and Description |
---|---|
protected boolean |
disabledFg
disable
|
protected boolean |
disableManualEntry
disable manual
|
protected boolean |
readOnlyFg
read only
|
protected int |
size
the size
|
protected java.lang.String |
value
the value
|
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 |
---|
HTMLImportFile(java.lang.String name) |
HTMLImportFile(java.lang.String name,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
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() |
protected void |
iGenerate(ClientBrowser browser,
java.lang.StringBuilder buffer)
generate the raw HTML for this component.
|
boolean |
isDisabled()
Is this is Disabled
|
boolean |
isReadOnly()
Is this is ReadOnly
|
void |
setDisabled(boolean flag)
Disables this input.
|
void |
setDisableManualEntry(boolean flag)
Disables tha manual entry
|
protected void |
setParent(HTMLComponent orgParent)
Set the parent of this component internally called by
addComponent
|
void |
setReadOnly(boolean flag)
Sets the field to READONLY
|
void |
setSize(int size) |
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, 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
protected int size
protected boolean readOnlyFg
protected boolean disableManualEntry
protected boolean disabledFg
protected java.lang.String value
public HTMLImportFile(java.lang.String name)
name
- public HTMLImportFile(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 setToolTip(java.lang.String toolTip)
toolTip
- public final void setValue(java.lang.String value)
setValue
in class HTMLFormComponent
value
- the valuepublic java.lang.String getValue()
getValue
in class HTMLFormComponent
public void setSize(int size)
size
- protected void compile(ClientBrowser browser)
HTMLComponent
compile
in class HTMLComponent
browser
- protected void iGenerate(ClientBrowser browser, java.lang.StringBuilder buffer)
iGenerate
in class HTMLComponent
browser
- The target browserbuffer
- The generate HTMLpublic void setDisabled(boolean flag)
flag
- public void setReadOnly(boolean flag)
flag
- public boolean isDisabled()
public boolean isReadOnly()
public void setDisableManualEntry(boolean flag)
flag
- The Boolean vlaue to set the disable flagprotected void setParent(HTMLComponent orgParent)
setParent
in class HTMLComponent
orgParent
- stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.