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
DataCapabilityProvider
s 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.
|
getLocalContext
addPropertyChangeListener, removePropertyChangeListener
close
static 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_NAME
String getTooltipText()
TOOLTIP_TEXT_PROPERTY_NAME
void markDirty()
isDirty()
boolean isDirty()
DIRTY_PROPERTY_NAME
boolean isInitialized()
INITIALIZED_PROPERTY_NAME
void 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.