JRubik v0.6

es.aeat.eett.plugins.tableNavi.tableRubik
Class Navigator

java.lang.Object
  extended byes.aeat.eett.plugins.tableNavi.tableRubik.Navigator
All Implemented Interfaces:
TableListener

public class Navigator
extends java.lang.Object
implements TableListener

Author:
f00992

Field Summary
private static java.lang.String COLLAPSE
           
private static java.lang.String EXPAND
           
private static Navigator instance
           
protected static java.util.ResourceBundle localizationResources
           
private  org.apache.log4j.Logger logger
           
 
Constructor Summary
private Navigator()
          Crea una nueva instancia de Navigator
 
Method Summary
 boolean canCollapse(com.tonbeller.jpivot.table.span.Span span, com.tonbeller.jpivot.olap.model.Displayable displayable)
           
 boolean canDrillThrough(RubikCell c)
           
 boolean canExpand(com.tonbeller.jpivot.table.span.Span span)
           
 boolean canSort(com.tonbeller.jpivot.table.span.Span span)
           
 boolean collapse(com.tonbeller.jpivot.table.span.Span span, com.tonbeller.jpivot.olap.model.Displayable displayable)
           
 com.tonbeller.wcf.table.TableModel drillThrough(RubikCell c)
           
 void expand(com.tonbeller.jpivot.table.span.Span span)
           
static Navigator getInstance()
           
 int getIntSortModo(com.tonbeller.jpivot.table.span.Span span)
           
 java.lang.String getSortModo(com.tonbeller.jpivot.table.span.Span span)
           
private static int indexOf(java.lang.Object[] array, java.lang.Object obj)
          utility
 boolean isSort(com.tonbeller.jpivot.table.span.Span span)
           
 boolean isSwapAxis()
           
 void pingCell(RubikCell c)
          El usuario clikeo en la celda.
private static boolean positionContainsMember(com.tonbeller.jpivot.table.span.Span s)
          true, s represents a member that is in the original result position.
 void sort(com.tonbeller.jpivot.table.span.Span span, int eje, int tipoSort)
           
 void sortNatural()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localizationResources

protected static java.util.ResourceBundle localizationResources

logger

private org.apache.log4j.Logger logger

EXPAND

private static final java.lang.String EXPAND

COLLAPSE

private static final java.lang.String COLLAPSE

instance

private static Navigator instance
Constructor Detail

Navigator

private Navigator()
Crea una nueva instancia de Navigator

Method Detail

getInstance

public static Navigator getInstance()

isSwapAxis

public boolean isSwapAxis()

canExpand

public final boolean canExpand(com.tonbeller.jpivot.table.span.Span span)

expand

public final void expand(com.tonbeller.jpivot.table.span.Span span)

canCollapse

public final boolean canCollapse(com.tonbeller.jpivot.table.span.Span span,
                                 com.tonbeller.jpivot.olap.model.Displayable displayable)

collapse

public final boolean collapse(com.tonbeller.jpivot.table.span.Span span,
                              com.tonbeller.jpivot.olap.model.Displayable displayable)

canSort

public final boolean canSort(com.tonbeller.jpivot.table.span.Span span)

isSort

public final boolean isSort(com.tonbeller.jpivot.table.span.Span span)

sort

public final void sort(com.tonbeller.jpivot.table.span.Span span,
                       int eje,
                       int tipoSort)
                throws com.tonbeller.jpivot.olap.model.OlapException
Throws:
com.tonbeller.jpivot.olap.model.OlapException

sortNatural

public final void sortNatural()
                       throws com.tonbeller.jpivot.olap.model.OlapException
Throws:
com.tonbeller.jpivot.olap.model.OlapException

getSortModo

public final java.lang.String getSortModo(com.tonbeller.jpivot.table.span.Span span)

getIntSortModo

public final int getIntSortModo(com.tonbeller.jpivot.table.span.Span span)

indexOf

private static final int indexOf(java.lang.Object[] array,
                                 java.lang.Object obj)
utility


positionContainsMember

private static final boolean positionContainsMember(com.tonbeller.jpivot.table.span.Span s)
true, s represents a member that is in the original result position. false, if s is not a member or if s is a member, that had been added to show the parents of the member


canDrillThrough

public final boolean canDrillThrough(RubikCell c)

drillThrough

public final com.tonbeller.wcf.table.TableModel drillThrough(RubikCell c)

pingCell

public void pingCell(RubikCell c)
Description copied from interface: TableListener
El usuario clikeo en la celda.

Specified by:
pingCell in interface TableListener
Parameters:
c -

JRubik v0.6

JRubik v0.6