es.aeat.eett.plugins.scrollNavi
Class JScrollNavi.ActionApply
java.lang.Object
javax.swing.AbstractAction
es.aeat.eett.plugins.scrollNavi.JScrollNavi.ActionApply
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- Enclosing class:
- JScrollNavi
- final class JScrollNavi.ActionApply
- extends javax.swing.AbstractAction
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary |
private com.tonbeller.jpivot.olap.model.Hierarchy |
hierarchy
|
private java.lang.Object[] |
mExpresion
|
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
private java.util.List |
getAllMeasures()
|
private java.lang.Object[] |
getExpInAxis(int indiceEje)
|
private java.lang.Object[] |
getExpMeasures(com.tonbeller.jpivot.olap.model.Hierarchy hierarchy)
Caso especial
Se comprueba que haya al menos una medida seleccionada
sin o es asi se selecciona una (Esto pasara pej. cuando Medidas venga del Filtro). |
private java.lang.Object[] |
getExpNodeHierarchy(CheckNode nodo)
|
private void |
getListMembers(java.util.List lista,
CheckNode nParent)
Va cargando lista con todos los CheckNodes seleccionados y
cuyo nivel sea > 2, (Recorre todos los hijos de nParent) |
private com.tonbeller.jpivot.olap.model.Member[] |
getMemberInSlicer()
|
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hierarchy
private com.tonbeller.jpivot.olap.model.Hierarchy hierarchy
mExpresion
private java.lang.Object[] mExpresion
JScrollNavi.ActionApply
public JScrollNavi.ActionApply()
getAllMeasures
private java.util.List getAllMeasures()
- Returns:
- lista con todas las medidas del model.
getExpMeasures
private java.lang.Object[] getExpMeasures(com.tonbeller.jpivot.olap.model.Hierarchy hierarchy)
- Caso especial
Se comprueba que haya al menos una medida seleccionada
sin o es asi se selecciona una (Esto pasara pej. cuando Medidas venga del Filtro).
getListMembers
private void getListMembers(java.util.List lista,
CheckNode nParent)
- Va cargando lista con todos los CheckNodes seleccionados y
cuyo nivel sea > 2, (Recorre todos los hijos de nParent)
- Parameters:
lista
- nParent
- nodo padre
getExpNodeHierarchy
private java.lang.Object[] getExpNodeHierarchy(CheckNode nodo)
- Parameters:
nodo
-
- Returns:
- un array con 'MemberExpression'
getExpInAxis
private java.lang.Object[] getExpInAxis(int indiceEje)
- Parameters:
indiceEje
-
- Returns:
- un array de expresion
getMemberInSlicer
private com.tonbeller.jpivot.olap.model.Member[] getMemberInSlicer()
- Returns:
- Un array con los miembros que hay en el slicer.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
JRubik v0.6