org.freehep.jas.extension.tupleExplorer.mutableTuple
Class MutableTuple

java.lang.Object
  extended by org.freehep.jas.extension.tupleExplorer.mutableTuple.MutableTuple
All Implemented Interfaces:
hep.aida.ref.tuple.FTuple

public class MutableTuple
extends Object
implements hep.aida.ref.tuple.FTuple

An interface implemented by all tuples handled by the Tuple Explorer plugin.

Author:
The FreeHEP team @ SLAC.

Field Summary
 
Fields inherited from interface hep.aida.ref.tuple.FTuple
ROWS_UNKNOWN
 
Constructor Summary
protected MutableTuple(hep.aida.ref.tuple.FTuple source, String title, MutableTupleTree mutableTupleTree)
           
protected MutableTuple(String title, MutableTupleTree mutableTupleTree)
           
 
Method Summary
 void addMutableTupleColumn(MutableTupleColumn column)
          Add a new MutableTupleColumn to the MutableTuple.
 void addMutableTupleListener(MutableTupleListener listener)
          Add a MutableTupleListener to this tuple.
protected  void changedMutableTupleColumn(MutableTupleColumn column)
           
 hep.aida.ref.tuple.FTupleColumn column(int n)
           
 hep.aida.ref.tuple.FTupleColumn columnByIndex(int n)
           
 hep.aida.ref.tuple.FTupleColumn columnByName(String name)
           
 int columnIndexByName(String name)
           
 void columnMaxValue(int column, org.freehep.util.Value value)
           
 void columnMeanValue(int column, org.freehep.util.Value value)
           
 void columnMinValue(int column, org.freehep.util.Value value)
           
 String columnName(int index)
           
 void columnRmsValue(int column, org.freehep.util.Value value)
           
 int columns()
           
 Class columnType(int index)
           
 void columnValue(int index, hep.aida.ref.tuple.FTupleCursor cursor, org.freehep.util.Value value)
           
 hep.aida.ref.tuple.FTupleCursor cursor()
           
 double estimatedSize()
           
 hep.aida.ref.tuple.FTuple getFTuple()
           
 boolean isInMemory()
           
 void loadTupleInMemory()
           
 MutableTupleTree mutableTupleTree()
           
 String name()
           
 void removeMutableTupleColumn(MutableTupleColumn column)
          Remove a MutableTupleColumn from the MutableTuple.
 void removeMutableTupleListener(MutableTupleListener listener)
          Remove an FTupleListener from the list of registered listeners of this tuple.
 int rows()
           
 void setTuple(hep.aida.ref.tuple.FTuple tuple)
           
 boolean supportsMultipleCursors()
           
 boolean supportsRandomAccess()
           
 String title()
          Methods for the FTuple interface
 MutableTupleTreeNavigator treeCursor()
           
 org.freehep.jas.plugin.tree.FTreePath treePath()
           
 hep.aida.ref.tuple.FTuple tuple(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutableTuple

protected MutableTuple(hep.aida.ref.tuple.FTuple source,
                       String title,
                       MutableTupleTree mutableTupleTree)

MutableTuple

protected MutableTuple(String title,
                       MutableTupleTree mutableTupleTree)
Method Detail

addMutableTupleColumn

public void addMutableTupleColumn(MutableTupleColumn column)
Add a new MutableTupleColumn to the MutableTuple.


removeMutableTupleColumn

public void removeMutableTupleColumn(MutableTupleColumn column)
Remove a MutableTupleColumn from the MutableTuple.


removeMutableTupleListener

public void removeMutableTupleListener(MutableTupleListener listener)
Remove an FTupleListener from the list of registered listeners of this tuple.

Parameters:
listener - The FTupleListener to be added.

addMutableTupleListener

public void addMutableTupleListener(MutableTupleListener listener)
Add a MutableTupleListener to this tuple. The listener will be notified when the tuple is modified.

Parameters:
listener - The MutableTupleListener to be added.

title

public String title()
Methods for the FTuple interface

Specified by:
title in interface hep.aida.ref.tuple.FTuple

name

public String name()
Specified by:
name in interface hep.aida.ref.tuple.FTuple

rows

public int rows()
Specified by:
rows in interface hep.aida.ref.tuple.FTuple

columns

public int columns()
Specified by:
columns in interface hep.aida.ref.tuple.FTuple

columnIndexByName

public int columnIndexByName(String name)

supportsRandomAccess

public boolean supportsRandomAccess()
Specified by:
supportsRandomAccess in interface hep.aida.ref.tuple.FTuple

supportsMultipleCursors

public boolean supportsMultipleCursors()
Specified by:
supportsMultipleCursors in interface hep.aida.ref.tuple.FTuple

columnByName

public hep.aida.ref.tuple.FTupleColumn columnByName(String name)
Specified by:
columnByName in interface hep.aida.ref.tuple.FTuple

columnByIndex

public hep.aida.ref.tuple.FTupleColumn columnByIndex(int n)
Specified by:
columnByIndex in interface hep.aida.ref.tuple.FTuple

column

public hep.aida.ref.tuple.FTupleColumn column(int n)

cursor

public hep.aida.ref.tuple.FTupleCursor cursor()
Specified by:
cursor in interface hep.aida.ref.tuple.FTuple

columnMaxValue

public void columnMaxValue(int column,
                           org.freehep.util.Value value)

columnMeanValue

public void columnMeanValue(int column,
                            org.freehep.util.Value value)

columnMinValue

public void columnMinValue(int column,
                           org.freehep.util.Value value)

columnName

public String columnName(int index)
Specified by:
columnName in interface hep.aida.ref.tuple.FTuple

columnRmsValue

public void columnRmsValue(int column,
                           org.freehep.util.Value value)

columnType

public Class columnType(int index)
Specified by:
columnType in interface hep.aida.ref.tuple.FTuple

columnValue

public void columnValue(int index,
                        hep.aida.ref.tuple.FTupleCursor cursor,
                        org.freehep.util.Value value)
Specified by:
columnValue in interface hep.aida.ref.tuple.FTuple

tuple

public hep.aida.ref.tuple.FTuple tuple(int index)
Specified by:
tuple in interface hep.aida.ref.tuple.FTuple

treeCursor

public MutableTupleTreeNavigator treeCursor()

mutableTupleTree

public MutableTupleTree mutableTupleTree()

treePath

public org.freehep.jas.plugin.tree.FTreePath treePath()

setTuple

public void setTuple(hep.aida.ref.tuple.FTuple tuple)

changedMutableTupleColumn

protected void changedMutableTupleColumn(MutableTupleColumn column)

isInMemory

public boolean isInMemory()
Specified by:
isInMemory in interface hep.aida.ref.tuple.FTuple

loadTupleInMemory

public void loadTupleInMemory()

estimatedSize

public double estimatedSize()

getFTuple

public hep.aida.ref.tuple.FTuple getFTuple()


Copyright © 2013. All Rights Reserved.