Package com.im.df.api.ddl
Interface DFView
-
- All Superinterfaces:
DFItem
,DFUserItem
,PropertiesEditingConfigurable
public interface DFView extends DFUserItem
Interface representing view (visual window/component) presenting data ofDFDataTree
. DFView is actually not visual object, but model only - it is responsible for persistence of UI settings.The actual window (Swing component) is only based on DFView. Implementation of these visual components is out of scope of DIF module. It must be solved in higher layer in the architecture.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.im.df.api.ddl.DFItem
DFItem.Handle<T extends DFItem>
-
Nested classes/interfaces inherited from interface com.im.df.api.support.PropertiesEditingConfigurable
PropertiesEditingConfigurable.Extra
-
-
Field Summary
-
Fields inherited from interface com.im.df.api.ddl.DFItem
PROP_CAPABILITIES, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_TYPE, PROP_VALID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DFDataTree
getDataTree()
DFItem.Handle<DFView>
getHandle()
Returns a handle to the Item.DFViewContent
getItemContent()
Getter for a the configuration data required to restore the view.DFUndoManager
getUndoManager()
-
Methods inherited from interface com.im.df.api.ddl.DFItem
addPropertyChangeListener, getCapabilities, getDescription, getId, getName, getType, isValid, removePropertyChangeListener, setDescription, setName
-
Methods inherited from interface com.im.df.api.support.PropertiesEditingConfigurable
isPropertyEditable
-
-
-
-
Method Detail
-
getDataTree
DFDataTree getDataTree()
- Returns:
- The owner of this view - what
DFDataTree
this view represents.
-
getItemContent
DFViewContent getItemContent()
Getter for a the configuration data required to restore the view. View is expected to load this data lazily.- Returns:
- view configuration (for persistence)
-
getHandle
DFItem.Handle<DFView> getHandle()
Description copied from interface:DFItem
Returns a handle to the Item. The handle uniquely identifies the Item, even though the schema data may be copied or otherwise replicated. Use the Handle instead of DFItem.getId() when registering an Item in collections that extend beyond the DFItem's parent Schema.
-
getUndoManager
DFUndoManager getUndoManager()
- Returns:
- data modifications undo/redo manager for this view
- Since:
- 20.12.0
-
-