Package com.iizigo.prop.editor
Class AtomNamePropEditor
java.lang.Object
com.iizigo.prop.editor.AtomNamePropEditor
- All Implemented Interfaces:
- IEditedPropertyEntry<PropCnr,,- Object> - EventListener,- EventListener,- FocusListener,- ModifyListener,- SWTEventListener
public class AtomNamePropEditor extends Object implements IEditedPropertyEntry<PropCnr,Object>, ModifyListener, EventListener, FocusListener 
The Atom Name "property" editor consists of a simple entry field.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- createControls- (PropertyEditor editor, PropertyEditorInfo info, String[] options, Composite parent, PropCnr[] containers, Atom atom, DefinedButton definedButton) Creates the required controls in the composite.- void- dispose()Called when disposed of by the property editor.- voidAt focus gained, select entire field.- voidUpon focus lost, checks the entry field.- voidThe entry field has been modified, checks the entry field.- voidProperty event.
- Constructor Details- AtomNamePropEditorpublic AtomNamePropEditor()Default constructor called before createControls.
 
- Method Details- createControlspublic MultiPropEditor createControls- (PropertyEditor editor, PropertyEditorInfo info, String[] options, Composite parent, PropCnr[] containers, Atom atom, DefinedButton definedButton) Creates the required controls in the composite.- Specified by:
- createControlsin interface- IEditedPropertyEntry<PropCnr,- Object> 
- Parameters:
- editor- The property editor instance.
- info- The information about edited item.
- options- The options.
- parent- Parent composite, where to place components.
- containers- The containers for the edited property.
- atom- Atom name of the property in the containers.
- definedButton- The define-button or null for none.
- Returns:
- null for normal editors, the instance of the multi-property editor in case of multiple editable entries (lines).
 
- disposepublic void dispose()Called when disposed of by the property editor.- Specified by:
- disposein interface- IEditedPropertyEntry<PropCnr,- Object> 
 
- focusGainedAt focus gained, select entire field.- Specified by:
- focusGainedin interface- FocusListener
 
- focusLostUpon focus lost, checks the entry field.- Specified by:
- focusLostin interface- FocusListener
 
- modifyTextThe entry field has been modified, checks the entry field.- Specified by:
- modifyTextin interface- ModifyListener
 
- onEventProperty event.- Specified by:
- onEventin interface- EventListener
- Parameters:
- e- The event.