|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsonification.dataimport.visbards_resourcetoolkit.model.DefaultDataset
public class DefaultDataset
The dataset is an extetion of the dataset properties container. It contains a personal set of dataset properties.
| Field Summary |
|---|
| Fields inherited from interface sonification.dataimport.visbards_resourcetoolkit.model.RangeModelListener |
|---|
ALL_CHANGED, OVERALL_RANGE_CHANGED, SELECTED_RANGE_CHANGED |
| Fields inherited from interface sonification.dataimport.visbards_resourcetoolkit.repository.category.CategoryListener |
|---|
BOTH_RANGES_CHANGED, OVERALL_RANGE_CHANGED, PALETTE_CHANGED, RANGE_CHANGED |
| Constructor Summary | |
|---|---|
DefaultDataset(Repository rep,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
addListener(DatasetListener listener)
Registers a listener. |
void |
arrowAdded(ArrowManager source)
Indicates that an arrow has been added. |
void |
arrowRemoved(ArrowManager source,
int idx)
Indicates that an arrow at index idx has been removed |
void |
attach(PropertyContainer container,
RangeModel model,
Universe uni)
Attach a dataset to the universe. |
void |
categoryChanged(Category source,
int eventID)
An event indicating something about the category has changed. |
void |
detach()
Detatch stop visualising this dataset. |
int |
findGlyphRow(Glyph g)
Returns the row address of the glyph. |
Glyph |
findMiddleVisibleGlyph()
Returns the middle vissible glyph of this dataset. |
java.lang.Object |
getBasePropVal(Property prop)
This method either returns our own property value, or (if we dont have it) returns one from the default property container. |
PropertyContainer |
getDefaultPropertyContainer()
Returns the default property container of this dataset. |
java.lang.String |
getName()
Returns the name of the dataset. |
int |
getNumGlyphsDisplayed()
Returns the number of currently displayed glyphs |
PropertyContainer |
getPropertyContainer()
Returns the property container of the dataset. |
Repository |
getRepository()
Returns the repository of this dataset. |
Range |
getRowRange()
Returns the currently displayed row range |
int |
getSelectedRow()
Returns the currently selected row. |
java.awt.Color |
getStaticColor()
Returns the static glyph color for this dataset. |
void |
modeChanged(ModeManager source)
Indicates a switch |
void |
picked(PickEvent event)
Glyph has been picked, check if it needs to be selected. |
void |
propertyChanged(PropertyContainer source,
Property prop)
Indicates that the VALUE for a particular visual property has changed. |
void |
pseudoCategoryChanged(PseudoCategory source)
An event that indicates that this pseudo category has changed how it computes its values. |
void |
rangeModelChanged(RangeModel source,
int eventID)
Indicates that the range controller changed. |
void |
removeListener(DatasetListener listener)
Unregisters a listener. |
void |
setStaticColor(java.awt.Color col)
Change the static glyph color for this dataset. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDataset(Repository rep,
java.lang.String name)
| Method Detail |
|---|
public void setStaticColor(java.awt.Color col)
setStaticColor in interface Datasetpublic java.awt.Color getStaticColor()
getStaticColor in interface Dataset
public void attach(PropertyContainer container,
RangeModel model,
Universe uni)
attach in interface Datasetpublic PropertyContainer getDefaultPropertyContainer()
getDefaultPropertyContainer in interface Datasetpublic void detach()
detach in interface Datasetpublic int findGlyphRow(Glyph g)
findGlyphRow in interface Datasetpublic Glyph findMiddleVisibleGlyph()
Dataset
findMiddleVisibleGlyph in interface Datasetpublic int getNumGlyphsDisplayed()
getNumGlyphsDisplayed in interface Datasetpublic Range getRowRange()
getRowRange in interface Datasetpublic int getSelectedRow()
getSelectedRow in interface Datasetpublic PropertyContainer getPropertyContainer()
getPropertyContainer in interface Datasetpublic java.lang.String getName()
getName in interface Datasetpublic java.lang.String toString()
toString in class java.lang.Objectpublic Repository getRepository()
getRepository in interface Datasetpublic java.lang.Object getBasePropVal(Property prop)
getBasePropVal in interface Datasetpublic void addListener(DatasetListener listener)
addListener in interface Datasetpublic void removeListener(DatasetListener listener)
removeListener in interface Dataset
public void rangeModelChanged(RangeModel source,
int eventID)
rangeModelChanged in interface RangeModelListener
public void propertyChanged(PropertyContainer source,
Property prop)
propertyChanged in interface PropertyContainerListenerpublic void pseudoCategoryChanged(PseudoCategory source)
pseudoCategoryChanged in interface PseudoCategoryListener
public void categoryChanged(Category source,
int eventID)
categoryChanged in interface CategoryListenerpublic void arrowAdded(ArrowManager source)
arrowAdded in interface ArrowManagerListener
public void arrowRemoved(ArrowManager source,
int idx)
arrowRemoved in interface ArrowManagerListenerpublic void picked(PickEvent event)
picked in interface PickListenerpublic void modeChanged(ModeManager source)
modeChanged in interface ModeManagerListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||