excel.core
接口 EditStyle


public interface EditStyle


字段摘要
static int $CheckBox
           
static int $Datetime
           
static int $DDLB
           
static int $MultiCheckBox
           
static int $MultiLine
           
static int $Normal
           
static int $Numeric
           
static int $RadioButton
           
static int $RichText
           
static int $Tree
           
static java.lang.String DefaultDatetimeFormat
           
 
方法摘要
 java.lang.String getCheckBoxTipText()
           
 java.lang.Object getCheckOffValue()
           
 java.lang.Object getCheckOnValue()
           
 int getColumnCountOnRow()
           
 java.lang.String getDatetimeFormat()
           
 java.lang.String getDDLBFilterBy()
           
 java.lang.String getDDLBName()
           
 int getDDLBWidthPercent()
           
 int getDecimalCount()
           
 java.util.Map getDropDownData2ViewMap()
          得到显示用的列表对象,主要用在将数据转化成显示值时使用,
 java.util.Map getDropDownData2ViewMapForEdit(int innerRow)
           
 int getEditType()
           
 java.lang.String getEditTypeName()
           
 java.lang.String getName()
           
 boolean isAutoWordWrap()
           
 boolean isDropDownListEditable()
           
 boolean isListShowAsCheckBox()
           
 boolean isListShowAsDDLB()
           
 boolean isListShowAsDropdownCheckBox()
           
 boolean isListShowAsRadioButton()
           
 boolean isShowComma()
           
 boolean isShowRealData()
           
 boolean isValueMustInDDLB()
           
 boolean isZeroVisibleWhenEditable()
           
 boolean isZeroVisibleWhenUneditable()
           
 void setAutoWordWrap(boolean autoWordWrap)
           
 void setCheckBoxTipText(java.lang.String checkBoxTipText)
           
 void setCheckOffValue(java.lang.Object checkOffValue)
           
 void setCheckOnValue(int checkOnValue)
           
 void setCheckOnValue(java.lang.Object checkOnValue)
           
 void setCheckOnValue(java.lang.String checkOnValue)
           
 void setColumnCountOnRow(int columnCount)
          每行上显示几列
 void setDatetimeFormat(java.lang.String datetimeFormat)
           
 void setDDLBFilterBy(java.lang.String ddlbFilterBy_)
           
 void setDDLBName(java.lang.String ddlbName)
           
 void setDDLBWidthPercent(int p)
           
 void setDecimalCount(int decimalCount)
           
 void setDropDownData2ViewMap(java.util.Map dropDownDataMap)
           
 void setDropDownListEditable(boolean dropDownListEditable)
           
 void setListShowAsCheckBox()
           
 void setListShowAsDDLB()
           
 void setListShowAsDropdownCheckBox()
           
 void setListShowAsRadioButton()
           
 void setShowComma(boolean showComma)
           
 void setShowRealData(boolean showRealData)
           
 void setValueMustInDDLB(boolean valueMustInDDLB)
           
 void setZeroVisibleWhenEditable(boolean zeroVisible)
           
 void setZeroVisibleWhenUneditable(boolean zeroVisible)
           
 

字段详细信息

$Normal

static final int $Normal
另请参见:
常量字段值

$Numeric

static final int $Numeric
另请参见:
常量字段值

$MultiLine

static final int $MultiLine
另请参见:
常量字段值

$Datetime

static final int $Datetime
另请参见:
常量字段值

$DDLB

static final int $DDLB
另请参见:
常量字段值

$CheckBox

static final int $CheckBox
另请参见:
常量字段值

$RadioButton

static final int $RadioButton
另请参见:
常量字段值

$RichText

static final int $RichText
另请参见:
常量字段值

$MultiCheckBox

static final int $MultiCheckBox
另请参见:
常量字段值

$Tree

static final int $Tree
另请参见:
常量字段值

DefaultDatetimeFormat

static final java.lang.String DefaultDatetimeFormat
另请参见:
常量字段值
方法详细信息

getEditType

int getEditType()

getEditTypeName

java.lang.String getEditTypeName()

getName

java.lang.String getName()

getCheckBoxTipText

java.lang.String getCheckBoxTipText()

setCheckBoxTipText

void setCheckBoxTipText(java.lang.String checkBoxTipText)

getCheckOffValue

java.lang.Object getCheckOffValue()

setCheckOffValue

void setCheckOffValue(java.lang.Object checkOffValue)

getCheckOnValue

java.lang.Object getCheckOnValue()

setCheckOnValue

void setCheckOnValue(java.lang.Object checkOnValue)

setCheckOnValue

void setCheckOnValue(int checkOnValue)

setCheckOnValue

void setCheckOnValue(java.lang.String checkOnValue)

getDatetimeFormat

java.lang.String getDatetimeFormat()

setDatetimeFormat

void setDatetimeFormat(java.lang.String datetimeFormat)

getDecimalCount

int getDecimalCount()

setDecimalCount

void setDecimalCount(int decimalCount)

getDropDownData2ViewMap

java.util.Map getDropDownData2ViewMap()
得到显示用的列表对象,主要用在将数据转化成显示值时使用,

返回:

getDropDownData2ViewMapForEdit

java.util.Map getDropDownData2ViewMapForEdit(int innerRow)

setDropDownData2ViewMap

void setDropDownData2ViewMap(java.util.Map dropDownDataMap)

getDDLBName

java.lang.String getDDLBName()

setDDLBName

void setDDLBName(java.lang.String ddlbName)

isDropDownListEditable

boolean isDropDownListEditable()

setDropDownListEditable

void setDropDownListEditable(boolean dropDownListEditable)

isShowComma

boolean isShowComma()

setShowComma

void setShowComma(boolean showComma)

isZeroVisibleWhenEditable

boolean isZeroVisibleWhenEditable()

setZeroVisibleWhenEditable

void setZeroVisibleWhenEditable(boolean zeroVisible)

isZeroVisibleWhenUneditable

boolean isZeroVisibleWhenUneditable()

setZeroVisibleWhenUneditable

void setZeroVisibleWhenUneditable(boolean zeroVisible)

isAutoWordWrap

boolean isAutoWordWrap()

setAutoWordWrap

void setAutoWordWrap(boolean autoWordWrap)

setDDLBFilterBy

void setDDLBFilterBy(java.lang.String ddlbFilterBy_)

getDDLBFilterBy

java.lang.String getDDLBFilterBy()

isShowRealData

boolean isShowRealData()

setDDLBWidthPercent

void setDDLBWidthPercent(int p)

getDDLBWidthPercent

int getDDLBWidthPercent()

setShowRealData

void setShowRealData(boolean showRealData)

setListShowAsDDLB

void setListShowAsDDLB()

setListShowAsRadioButton

void setListShowAsRadioButton()

setListShowAsCheckBox

void setListShowAsCheckBox()

setListShowAsDropdownCheckBox

void setListShowAsDropdownCheckBox()

setColumnCountOnRow

void setColumnCountOnRow(int columnCount)
每行上显示几列

参数:
columnCount -

isListShowAsDDLB

boolean isListShowAsDDLB()

isListShowAsRadioButton

boolean isListShowAsRadioButton()

isListShowAsCheckBox

boolean isListShowAsCheckBox()

isListShowAsDropdownCheckBox

boolean isListShowAsDropdownCheckBox()

getColumnCountOnRow

int getColumnCountOnRow()

isValueMustInDDLB

boolean isValueMustInDDLB()

setValueMustInDDLB

void setValueMustInDDLB(boolean valueMustInDDLB)