public class IlvDashboardEditManager extends Object
IlvDashboardEditor
to notify and
control editing operations. This class can be extended and instantiated
to replace the default IlvDashboardEditManager
.IlvDashboardEditor.setEditManager(IlvDashboardEditManager)
,
IlvDashboardEditor.getEditManager()
Modifier | Constructor and Description |
---|---|
protected |
IlvDashboardEditManager(IlvDashboardEditor editor)
Constructs an instance of
IlvDashboardEditManager |
Modifier and Type | Method and Description |
---|---|
IlvDashboardEditor |
getEditor()
Returns the dashboard editor.
|
protected boolean |
isSymbolCreationAllowed(IlvDashboardDiagram dashboard,
IlvPaletteSymbol paletteSymbol)
Tests if the dragged symbol is accepted by the given
dashboard
diagram. |
protected void |
symbolAdded(IlvDashboardSymbol symbol)
Invoked when a dashboard symbol is added to its
dashboard diagram.
|
protected void |
symbolRemoved(IlvDashboardSymbol symbol)
Invoked when a dashboard symbol is removed from its dashboard
diagram.
|
protected IlvDashboardEditManager(IlvDashboardEditor editor)
IlvDashboardEditManager
editor
- The dashboard editor.public IlvDashboardEditor getEditor()
IlvDashboardEditManager(IlvDashboardEditor)
protected void symbolAdded(IlvDashboardSymbol symbol)
symbol
- The added symbol.protected void symbolRemoved(IlvDashboardSymbol symbol)
symbol
- The removed symbol.protected boolean isSymbolCreationAllowed(IlvDashboardDiagram dashboard, IlvPaletteSymbol paletteSymbol)
dashboard
diagram.dashboard
- The dashboard diagram.paletteSymbol
- The dragged palette symbol.true
if the dragged symbol can be created
in the dashboard diagram. The default implementation alwasy returns
true
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.