public class ListBoxActiveXControl extends ActiveXControl
| Modifier and Type | Method and Description |
|---|---|
int |
getBorderOleColor()
Gets the ole color of the background.
|
int |
getBorderStyle()
Gets the type of border used by the control.
|
int |
getBoundColumn()
Represents how the Value property is determined for a ComboBox or ListBox
when the MultiSelect properties value (fmMultiSelectSingle).
|
int |
getColumnCount()
Represents the number of columns to display in a ComboBox or ListBox.
|
double |
getColumnWidths()
Gets the width of the column.
|
boolean |
getIntegralHeight()
Indicates whether the control will only show complete lines of text without showing any partial lines.
|
int |
getListStyle()
Gets the visual appearance.
|
double |
getListWidth()
Gets the width in unit of points.
|
int |
getMatchEntry()
Indicates how a ListBox or ComboBox searches its list as the user types.
|
int |
getScrollBars()
Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither.
|
int |
getSelectionType()
Indicates whether the control permits multiple selections.
|
boolean |
getShowColumnHeads()
Indicates whether column headings are displayed.
|
int |
getSpecialEffect()
Gets the special effect of the control.
|
int |
getTextColumn()
Represents the column in a ComboBox or ListBox to display to the user.
|
int |
getType()
Gets the type of the ActiveX control.
|
java.lang.String |
getValue()
Gets the value of the control.
|
void |
setBorderOleColor(int value)
Sets the ole color of the background.
|
void |
setBorderStyle(int value)
Sets the type of border used by the control.
|
void |
setBoundColumn(int value)
Represents how the Value property is determined for a ComboBox or ListBox
when the MultiSelect properties value (fmMultiSelectSingle).
|
void |
setColumnCount(int value)
Represents the number of columns to display in a ComboBox or ListBox.
|
void |
setColumnWidths(double value)
Sets the width of the column.
|
void |
setIntegralHeight(boolean value)
Indicates whether the control will only show complete lines of text without showing any partial lines.
|
void |
setListStyle(int value)
Sets the visual appearance.
|
void |
setListWidth(double value)
Sets the width in unit of points.
|
void |
setMatchEntry(int value)
Indicates how a ListBox or ComboBox searches its list as the user types.
|
void |
setScrollBars(int value)
Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither.
|
void |
setSelectionType(int value)
Indicates whether the control permits multiple selections.
|
void |
setShowColumnHeads(boolean value)
Indicates whether column headings are displayed.
|
void |
setSpecialEffect(int value)
Sets the special effect of the control.
|
void |
setTextColumn(int value)
Represents the column in a ComboBox or ListBox to display to the user.
|
void |
setValue(java.lang.String value)
Sets the value of the control.
|
getData, getFont, getIMEMode, getTextAlign, isAutoSize, isEnabled, isLocked, isTransparent, setAutoSize, setEnabled, setIMEMode, setLocked, setTextAlign, setTransparentgetBackOleColor, getForeOleColor, getHeight, getLinkedCell, getListFillRange, getMouseIcon, getMousePointer, getShadow, getWidth, getWorkbook, isVisible, setBackOleColor, setForeOleColor, setHeight, setLinkedCell, setListFillRange, setMouseIcon, setMousePointer, setShadow, setVisible, setWidthpublic int getType()
See ControlType.
getType in class ActiveXControlBasepublic int getScrollBars()
See ControlScrollBarType.
public void setScrollBars(int value)
See ControlScrollBarType.
public double getListWidth()
public void setListWidth(double value)
public int getBoundColumn()
public void setBoundColumn(int value)
public int getTextColumn()
public void setTextColumn(int value)
public int getColumnCount()
public void setColumnCount(int value)
public int getMatchEntry()
public void setMatchEntry(int value)
public int getListStyle()
See ControlListStyle.
public void setListStyle(int value)
See ControlListStyle.
public int getSelectionType()
See SelectionType.
public void setSelectionType(int value)
See SelectionType.
public java.lang.String getValue()
Remarks
Only effects whengetSelectionType() is SelectionType.Single;public void setValue(java.lang.String value)
Remarks
Only effects whengetSelectionType() is SelectionType.Single;public int getBorderStyle()
See ControlBorderType.
public void setBorderStyle(int value)
See ControlBorderType.
public int getBorderOleColor()
public void setBorderOleColor(int value)
public int getSpecialEffect()
public void setSpecialEffect(int value)
public boolean getShowColumnHeads()
public void setShowColumnHeads(boolean value)
public boolean getIntegralHeight()
public void setIntegralHeight(boolean value)
public double getColumnWidths()
public void setColumnWidths(double value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.