Package org.apache.poi.hssf.record
Class LbsDataSubRecord.LbsDropData
java.lang.Object
org.apache.poi.hssf.record.LbsDataSubRecord.LbsDropData
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
- Enclosing class:
LbsDataSubRecord
public static class LbsDataSubRecord.LbsDropData
extends Object
implements org.apache.poi.common.Duplicatable, GenericRecord
This structure specifies properties of the dropdown list control
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCombo dropdown controlstatic final intCombo Edit dropdown controlstatic final intSimple dropdown control (just the dropdown button) -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncopy()intvoidvoidsetNumLines(int num) Set the number of lines to be displayed in the dropdown.voidsetStyle(int style) Set the style of this dropdown.toString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Field Details
-
STYLE_COMBO_DROPDOWN
public static final int STYLE_COMBO_DROPDOWNCombo dropdown control- See Also:
-
STYLE_COMBO_EDIT_DROPDOWN
public static final int STYLE_COMBO_EDIT_DROPDOWNCombo Edit dropdown control- See Also:
-
STYLE_COMBO_SIMPLE_DROPDOWN
public static final int STYLE_COMBO_SIMPLE_DROPDOWNSimple dropdown control (just the dropdown button)- See Also:
-
-
Constructor Details
-
LbsDropData
public LbsDropData() -
LbsDropData
-
LbsDropData
-
-
Method Details
-
setStyle
public void setStyle(int style) Set the style of this dropdown.Possible values:
- 0: Combo dropdown control
- 1: Combo Edit dropdown control
- 2: Simple dropdown control (just the dropdown button)
- Parameters:
style- the style - see possible values
-
setNumLines
public void setNumLines(int num) Set the number of lines to be displayed in the dropdown.- Parameters:
num- the number of lines to be displayed in the dropdown
-
serialize
-
getDataSize
public int getDataSize() -
toString
-
copy
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable
-
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-