public class PopText extends HtmlObject implements java.io.Serializable
htmElement, Key_function_onblur, Key_function_onchange, Key_function_onclick, Key_function_onfocusKey_TDAttr, Key_TDClass, Type_sort_asc, Type_sort_default, Type_sort_desc| Constructor and Description |
|---|
PopText() |
PopText(MaliContext incontext,
java.lang.String inKind,
java.lang.String inType,
java.lang.String inFieldname,
java.lang.String inDisplayname,
java.lang.String insizelength,
java.lang.String inmaxlength,
java.lang.String infunctionstr,
boolean inisdb,
java.lang.String inurl) |
PopText(java.lang.String indisplayName,
InputText inid,
InputText inname,
Button inbutton)
預設為 default,由 各欄位自己決定是 READONLY 或是 可輸入
|
PopText(java.lang.String inKind,
java.lang.String inType,
java.lang.String indisplayName,
InputText inid,
InputText inname,
Button inbutton) |
PopText(java.lang.String inKind,
java.lang.String inType,
java.lang.String inFieldname,
java.lang.String inDisplayname,
java.lang.String insizelength,
java.lang.String inmaxlength,
java.lang.String infunctionstr,
boolean inisdb,
java.lang.String inurl)
Input Text 另可顯示代碼及中文,另增加open url button
|
PopText(java.lang.String inKind,
java.lang.String inType,
java.lang.String inFieldname,
java.lang.String inDisplayname,
java.lang.String insizelength,
java.lang.String inmaxlength,
java.lang.String infunctionstr,
boolean inisdb,
java.lang.String inurl,
int tabindex) |
| Modifier and Type | Method and Description |
|---|---|
Button |
createButton()
create 預設的new button
|
Button |
getButton() |
java.lang.String |
getClassName() |
java.lang.String |
getCODEID_FIELDNAME()
取代碼檔的codeid 欄位名稱
|
InputText |
getCodeID() |
java.lang.String |
getCODENAME_FIELDNAME()
取代碼檔的codename欄位名稱
|
InputText |
getCodeName() |
BaseQuery |
getCodeQuery() |
java.lang.String[] |
getDataArray() |
HtmlObject[] |
getHtmlObjects() |
boolean |
getIsgetValue() |
boolean |
getIsHiddenField() |
java.lang.String |
getMaxlength() |
java.lang.String |
getOnBlurEvent() |
java.lang.String |
getOnChangeEvent() |
java.lang.String |
getPopUrl() |
java.lang.String |
getSizelength() |
void |
init(java.lang.String inKind,
java.lang.String inType,
java.lang.String inFieldname,
java.lang.String inDisplayname,
java.lang.String insizelength,
java.lang.String inmaxlength,
java.lang.String infunctionstr,
boolean inisdb,
java.lang.String inurl,
int tabindex) |
boolean |
isShowCodeField() |
boolean |
isUseQueryform()
此PopText是要準備使用Queryform,可提供繼承的介面可依此判斷進行後續處理
|
void |
setButton(Button inbutton) |
void |
setCodeID(InputText infield) |
void |
setCodeID(java.lang.String infield,
boolean indb) |
void |
setCodeName(InputText infield) |
void |
setCodeName(java.lang.String inName,
boolean isdb)
set Code Name 說明名稱及定義代碼欄位是否為資料庫欄位
|
void |
setCodeQuery(BaseQuery inqry,
java.lang.String qryCodeidFieldName,
java.lang.String qryCodenameFieldName) |
void |
setCodeQuery(java.lang.Object inqry,
java.lang.String qryCodeidFieldName,
java.lang.String qryCodenameFieldName) |
void |
setDataArray(java.lang.String[] value) |
void |
setKind(java.lang.String value)
顯示類別 DEFAULT , DISPLAY
|
void |
setOnBlueEvent(java.lang.String value) |
void |
setOnChangeEvent(java.lang.String value) |
void |
setPopUrl(java.lang.String inurl)
直接set popurl
|
void |
setShowCodeField(boolean inshowcode)
是否顯示代碼欄位, 若為 false ,則只顯示說明欄位
|
void |
setUseQueryForm(boolean isqueryform)
set 是否使用 queryform
|
java.lang.String |
toString() |
createAddButton, createButton, createButton, createComboboxByusingOptionNo, createComboboxByusingOptionYes, createDateText, createDeleteButton, createDeleteButton, createDeleteButton, createDoubleNumberField, createEditButton, createHiddenText, createHiddenText, createInputPasswordText, createInputText, createInputText, createInputTextArea, createIntegerNumberField, createLabel, createMultiCheckbox, createPopText, createPopText, createPrintButton, createQueryButton, createQueryButton, createRadiobox, createROCDateText, createSaveButton, createSignleCheckbox, createSingleCheckbox, create時分TimeInputText, create時分秒TimeInputText, getDefaultValue, getDynamicFieldText, getElementByIDObject, getElementByIDObject, getElementByName, getElementByNameObject, getElementsByNameObject, getFieldName, getFunctionScript, getID, getInputMaxLength, getInputSizeLength, getIsDbField, getIsReplaceSepcialWord, getKind, getMaliContext, getOldFieldName, getOnClickEvent, getOnFocusEvent, getOnFocusStyleName, getQueryElementByIDObject, getQueryElementByName, getRowseqnum, getSortKeyname, getSqlActionType, getStyleName, getTabindex, getType, getValue, inithtmElement, isAutoSkip, isMutiRow, isReport, isTabIndexTransfer, isUseMutirowlistform, setAutoSkip, setClassName, setDefaultValue, setFieldName, setFuncionScript, setID, setInputMaxLength, setInputSizeLength, setIsDbField, setIsgetValue, setIsHiddenField, setIsMutiRows, setIsReplaceSepcialWord, setMaliContext, setOldFieldName, setOnBlurEvent, setOnClickEvent, setOnFocusEvent, setOnFocusStyleName, setRowData, setRowseqnum, setSqlActionType, setStyleName, setTabindex, setTabindex, setType, setValue, set是否由MutiRowListForm帶入, toFieldString, toStringArraygetascsort, getColSpan, getColumnIndex, getDisplayName, getDisplayNameHtmlPara, getRowSpan, getSortKeyClass, getTDAttr, getTDClass, getUseSortButton, is設定DisplayNamePara, setascsort, setColSpan, setColumneIndex, setDisplayName, setDisplayNameHtmlPara, setRowSpan, setSortKeyClass, setSortKeyname, setTDAttr, setTDClass, setUseSortButtonpublic PopText()
public PopText(java.lang.String inKind,
java.lang.String inType,
java.lang.String inFieldname,
java.lang.String inDisplayname,
java.lang.String insizelength,
java.lang.String inmaxlength,
java.lang.String infunctionstr,
boolean inisdb,
java.lang.String inurl)
inKind - DEFAULT,MUST,DISPLAYinType - Type 分成三種類型 要參考 HtmlPara.class 中的 HTM_POP_TYPE ,DESC 是代表原Text代碼的中文 此欄位一定為DISPLAY,BUTTON是顯示按鈕inFieldname - inDisplayname - insizelength - inmaxlength - infunctionstr - inisdb - inurl - 非url ,而是 button 的 scriptpublic PopText(MaliContext incontext, java.lang.String inKind, java.lang.String inType, java.lang.String inFieldname, java.lang.String inDisplayname, java.lang.String insizelength, java.lang.String inmaxlength, java.lang.String infunctionstr, boolean inisdb, java.lang.String inurl)
public PopText(java.lang.String inKind,
java.lang.String inType,
java.lang.String inFieldname,
java.lang.String inDisplayname,
java.lang.String insizelength,
java.lang.String inmaxlength,
java.lang.String infunctionstr,
boolean inisdb,
java.lang.String inurl,
int tabindex)
public PopText(java.lang.String inKind,
java.lang.String inType,
java.lang.String indisplayName,
InputText inid,
InputText inname,
Button inbutton)
public void setCodeID(java.lang.String infield,
boolean indb)
public void setCodeID(InputText infield)
public InputText getCodeID()
public InputText getCodeName()
public void setCodeName(java.lang.String inName,
boolean isdb)
inName - isdb - public void setCodeName(InputText infield)
public void setButton(Button inbutton)
public Button getButton()
public java.lang.String getSizelength()
public java.lang.String getMaxlength()
public HtmlObject[] getHtmlObjects()
public void setPopUrl(java.lang.String inurl)
inurl - public java.lang.String getPopUrl()
public void setOnChangeEvent(java.lang.String value)
setOnChangeEvent in class HtmlObjectpublic void setOnBlueEvent(java.lang.String value)
public java.lang.String getOnChangeEvent()
getOnChangeEvent in class HtmlObjectpublic java.lang.String getOnBlurEvent()
getOnBlurEvent in class HtmlObjectpublic void setDataArray(java.lang.String[] value)
public java.lang.String[] getDataArray()
public void setShowCodeField(boolean inshowcode)
inshowcode - public boolean isShowCodeField()
public java.lang.String getClassName()
getClassName in class HtmlObjectpublic java.lang.String toString()
toString in class HtmlObjectpublic boolean getIsgetValue()
getIsgetValue in class HtmlObjectpublic boolean getIsHiddenField()
getIsHiddenField in class HtmlObjectpublic void init(java.lang.String inKind,
java.lang.String inType,
java.lang.String inFieldname,
java.lang.String inDisplayname,
java.lang.String insizelength,
java.lang.String inmaxlength,
java.lang.String infunctionstr,
boolean inisdb,
java.lang.String inurl,
int tabindex)
public void setCodeQuery(java.lang.Object inqry,
java.lang.String qryCodeidFieldName,
java.lang.String qryCodenameFieldName)
public void setCodeQuery(BaseQuery inqry, java.lang.String qryCodeidFieldName, java.lang.String qryCodenameFieldName)
public BaseQuery getCodeQuery()
public java.lang.String getCODEID_FIELDNAME()
public java.lang.String getCODENAME_FIELDNAME()
public Button createButton()
public void setKind(java.lang.String value)
HtmlObjectsetKind in class HtmlObjectpublic void setUseQueryForm(boolean isqueryform)
isqueryform - public boolean isUseQueryform()