Logo Search packages:      
Sourcecode: ooeclipseintegration version File versions  Download package

org::openoffice::ide::eclipse::core::gui::rows::ChoiceRow Class Reference

Inheritance diagram for org::openoffice::ide::eclipse::core::gui::rows::ChoiceRow:


List of all members.

Detailed Description

Row class that could managed a combo box to select a value among others

In order to use this class correctly, please add items and define the default one. As every row type, don't forget to set the Modification listener to be notified of the value changes. This class supports internationalized items since the version 1.0.3.

See also:

Definition at line 69 of file ChoiceRow.java.

Public Member Functions

void add (String item)
void add (String item, int index)
void add (String text, String value)
void add (String text, String value, int index)
void addAll (String[] items)
 ChoiceRow (Composite parent, String property, String label, String browse)
 ChoiceRow (Composite parent, String property, String label)
String getItem (int index)
int getItemCount ()
String getProperty ()
String getValue (int i)
String getValue ()
void modifyText (ModifyEvent e)
void remove (int start, int end)
void remove (int index)
void remove (String text)
void removeAll ()
void removeFieldChangedlistener ()
void select (String value)
void select (int index)
void setBrowseSelectionListener (SelectionListener listener)
void setEnabled (boolean enabled)
void setFieldChangedListener (IFieldChangedListener listener)
void setLabel (String newLabel)
void setVisible (boolean visible)

Protected Member Functions

void createContent (Composite parent, Control label, Control field, String browseText)
void fillRow (Composite parent)
void fireFieldChangedEvent (FieldEvent e)

Protected Attributes

Button mBrowse
Control mField
Control mLabel
IFieldChangedListener mListener
String mProperty

Private Attributes

Hashtable mTranslations

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index