com.tonbeller.jpivot.table.navi
Class SpagoBICrossNavigationUI
java.lang.Object
com.tonbeller.jpivot.table.PartBuilderSupport
com.tonbeller.jpivot.table.TableComponentExtensionSupport
com.tonbeller.jpivot.table.navi.SpagoBICrossNavigationUI
- All Implemented Interfaces:
- com.tonbeller.jpivot.core.ModelChangeListener, com.tonbeller.jpivot.table.PartBuilder, com.tonbeller.jpivot.table.TableComponentExtension, com.tonbeller.jpivot.ui.Available, com.tonbeller.wcf.bookmarks.Bookmarkable, java.util.EventListener
public class SpagoBICrossNavigationUI
- extends com.tonbeller.jpivot.table.TableComponentExtensionSupport
- implements com.tonbeller.jpivot.core.ModelChangeListener
This class is an extension to JPivot table UI: it must be declared as
<extension enabled="false" class="com.tonbeller.jpivot.table.navi.SpagoBICrossNavigationUI""/>
in file com.tonbeller.jpivot.table.config.xml to take effect.
When cross navigation functionality is enabled, an image on each cell is displayed: this image is obtained adding a
cross-navigation
Element in the xml table representation (see also SpagoBIJPivotEngine/WEB-INF/jpivot/table/mdxtable.xsl
for the XSLT trasformation of cross-navigation
Element). The image has an 'onclick' javascript function that
shows a context menu for the available cross-navigation targets.
- Author:
- Zerbetto Davide (davide.zerbetto@eng.it)
Field Summary |
static java.lang.String |
ID
|
Fields inherited from class com.tonbeller.jpivot.table.TableComponentExtensionSupport |
enabled |
Fields inherited from class com.tonbeller.jpivot.table.PartBuilderSupport |
table |
Fields inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
EXTENSIONAL, INTENSIONAL |
Methods inherited from class com.tonbeller.jpivot.table.TableComponentExtensionSupport |
getBookmarkState, isEnabled, setBookmarkState, setEnabled |
Methods inherited from class com.tonbeller.jpivot.table.PartBuilderSupport |
destroy, setDirty, stopBuild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.tonbeller.jpivot.table.PartBuilder |
destroy, stopBuild |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
SpagoBICrossNavigationUI
public SpagoBICrossNavigationUI()
getId
public java.lang.String getId()
- Specified by:
getId
in interface com.tonbeller.jpivot.table.TableComponentExtension
initialize
public void initialize(com.tonbeller.wcf.controller.RequestContext context,
com.tonbeller.jpivot.table.TableComponent table)
throws java.lang.Exception
- Specified by:
initialize
in interface com.tonbeller.jpivot.table.PartBuilder
- Overrides:
initialize
in class com.tonbeller.jpivot.table.PartBuilderSupport
- Throws:
java.lang.Exception
startBuild
public void startBuild(com.tonbeller.wcf.controller.RequestContext context)
- Specified by:
startBuild
in interface com.tonbeller.jpivot.table.PartBuilder
- Overrides:
startBuild
in class com.tonbeller.jpivot.table.PartBuilderSupport
initializeExtension
protected boolean initializeExtension()
- Returns:
- true if extension is available
isAvailable
public boolean isAvailable()
- Specified by:
isAvailable
in interface com.tonbeller.jpivot.table.PartBuilder
- Specified by:
isAvailable
in interface com.tonbeller.jpivot.ui.Available
- Overrides:
isAvailable
in class com.tonbeller.jpivot.table.PartBuilderSupport
modelChanged
public void modelChanged(com.tonbeller.jpivot.core.ModelChangeEvent e)
- Specified by:
modelChanged
in interface com.tonbeller.jpivot.core.ModelChangeListener
structureChanged
public void structureChanged(com.tonbeller.jpivot.core.ModelChangeEvent e)
- Specified by:
structureChanged
in interface com.tonbeller.jpivot.core.ModelChangeListener
getTableModel
public com.tonbeller.wcf.table.TableModel getTableModel()