K - the type of the unique key of this data handlerpublic interface DataHandler<K> extends LocalContextProvider, org.softsmithy.lib.util.UniqueKeyProvider<K>, org.softsmithy.lib.beans.Bean, AutoCloseable
DataCapabilityProviders and add the found data capabilities to it's local context.| Modifier and Type | Field and Description |
|---|---|
static String |
DIRTY_PROPERTY_NAME
The name of the 'dirty' property.
|
static String |
INITIALIZED_PROPERTY_NAME
The name of the 'initialized' property.
|
static String |
TITLE_PROPERTY_NAME
The name of the 'title' property.
|
static String |
TOOLTIP_TEXT_PROPERTY_NAME
The name of the 'tooltipText' property.
|
static String |
UNIQUE_KEY_PROPERTY_NAME
The name of the 'uniqueKey' property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCloseEventListener(org.softsmithy.lib.util.CloseEventListener listener)
Registers a listener, which gets notified when this DataHandler gets closed.
|
String |
getTitle()
Gets the title of this data handler.
|
String |
getTooltipText()
Gets the tooltip text.
|
boolean |
isDirty()
A flag if the content of this data handler is dirty.
|
boolean |
isInitialized()
A flag if this data handler is initialized.
|
void |
markDirty()
Marks the content of this data handler as dirty.
|
void |
removeCloseEventListener(org.softsmithy.lib.util.CloseEventListener listener)
Unregisters a listener, which gets notified when this DataHandler gets closed.
|
getLocalContextaddPropertyChangeListener, removePropertyChangeListenerclosestatic final String UNIQUE_KEY_PROPERTY_NAME
UniqueKeyProvider.getUniqueKey(),
Constant Field Valuesstatic final String TITLE_PROPERTY_NAME
getTitle(),
Constant Field Valuesstatic final String TOOLTIP_TEXT_PROPERTY_NAME
getTooltipText(),
Constant Field Valuesstatic final String DIRTY_PROPERTY_NAME
isDirty(),
Constant Field Valuesstatic final String INITIALIZED_PROPERTY_NAME
isInitialized(),
Constant Field ValuesString getTitle()
TITLE_PROPERTY_NAMEString getTooltipText()
TOOLTIP_TEXT_PROPERTY_NAMEvoid markDirty()
isDirty()boolean isDirty()
DIRTY_PROPERTY_NAMEboolean isInitialized()
INITIALIZED_PROPERTY_NAMEvoid addCloseEventListener(org.softsmithy.lib.util.CloseEventListener listener)
listener - the listener to addvoid removeCloseEventListener(org.softsmithy.lib.util.CloseEventListener listener)
listener - the listener to removeCopyright © 2012–2019 Drombler. All rights reserved.