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 |
static String |
INITIALIZED_PROPERTY_NAME |
static String |
TITLE_PROPERTY_NAME |
static String |
TOOLTIP_TEXT_PROPERTY_NAME |
static String |
UNIQUE_KEY_PROPERTY_NAME |
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
static final String TITLE_PROPERTY_NAME
static final String TOOLTIP_TEXT_PROPERTY_NAME
static final String DIRTY_PROPERTY_NAME
static final String INITIALIZED_PROPERTY_NAME
String getTitle()
String getTooltipText()
void markDirty()
isDirty()
boolean isDirty()
boolean isInitialized()
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–2018 Drombler. All rights reserved.