|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IComboPropertyEditor
Property editor that uses combo box as property editor control. Events flow on property editor activation is following:
| Method Summary | |
|---|---|
java.lang.String[] |
getItems()
Returns array of items to show in combo box. |
java.lang.String |
getText()
Returns text to show in combo box. |
void |
setSelection(int index,
java.lang.String text)
When user changes selection in combo box, Designer will notify editor about this. You can use index or text to handle selection. |
| Methods inherited from interface com.swtdesigner.api.swt.property.editor.IPropertyEditor |
|---|
getJavaSource, getValue, initialize, setValue |
| Method Detail |
|---|
java.lang.String[] getItems()
java.lang.String getText()
void setSelection(int index,
java.lang.String text)
null.
index - the index of selected itemtext - the text of selected item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||