|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the ServiceDescriptor classpublic interface ServiceDescriptorEditor<T extends chemaxon.marvin.services.ServiceDescriptor>
Provides editor suport for ServiceDescriptor
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_KEY_PREFERRED_DESCRIPTION
Property key for preferred service description |
static java.lang.String |
PROPERTY_KEY_PREFERRED_NAME
Property key for preferred service name |
static java.lang.String |
PROPERTY_KEY_USERSETTINGS
Property key for optional client property UserSettings |
static java.lang.String |
PROPERTY_KEY_VALID
Property key for editor validation state as Boolean |
| Method Summary | |
|---|---|
T |
getDescriptor()
Returns the ServiceDescriptor represented by editor state or null
if the editor is in not valid state |
javax.swing.JComponent |
getEditor()
Returns the editor component for the ServiceDescriptor |
java.beans.PropertyChangeSupport |
getPropertyChangeSupport()
Returns the PropertyChangeSupport associated with this editor |
boolean |
isValid()
Returns true if editor represents a valid descriptor in current state |
void |
setDescriptor(T descriptor)
Updates the editor to represent the specified descriptor NOTE: getDescriptor() may NOT return same instance |
| Field Detail |
|---|
static final java.lang.String PROPERTY_KEY_VALID
Boolean
static final java.lang.String PROPERTY_KEY_PREFERRED_NAME
static final java.lang.String PROPERTY_KEY_PREFERRED_DESCRIPTION
static final java.lang.String PROPERTY_KEY_USERSETTINGS
| Method Detail |
|---|
javax.swing.JComponent getEditor()
ServiceDescriptor
ServiceDescriptorT getDescriptor()
ServiceDescriptor represented by editor state or null
if the editor is in not valid state
ServiceDescriptor represented by editor state or nullvoid setDescriptor(T descriptor)
getDescriptor() may NOT return same instance
descriptor - the descriptor to representboolean isValid()
true if editor represents a valid descriptor in current state
true if editor represents a valid descriptor in current statejava.beans.PropertyChangeSupport getPropertyChangeSupport()
PropertyChangeSupport associated with this editor
PropertyChangeSupport instance
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||