|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsonification.dataimport.visbards_resourcetoolkit.repository.category.DefaultPseudoCategory
sonification.dataimport.visbards_resourcetoolkit.repository.category.PseudoLocation
public class PseudoLocation
| Field Summary | |
|---|---|
protected java.lang.String |
fName
|
protected Range |
fOverallRange
|
protected ColorPalette |
fPalette
|
protected Range |
fRange
|
protected CategoryType |
fType
|
| Fields inherited from class sonification.dataimport.visbards_resourcetoolkit.repository.category.DefaultPseudoCategory |
|---|
fParent |
| Fields inherited from interface sonification.dataimport.visbards_resourcetoolkit.model.RangeModelListener |
|---|
ALL_CHANGED, OVERALL_RANGE_CHANGED, SELECTED_RANGE_CHANGED |
| Constructor Summary | |
|---|---|
PseudoLocation(Category parent,
boolean presentational)
|
|
| Method Summary | |
|---|---|
void |
addListener(CategoryListener listener)
Registers a listener to this instance. |
boolean |
canProject()
|
void |
categoryAdded(CategoryPool source,
Category cat)
Indicates that a category has been added to the system. |
void |
categoryRemoved(CategoryPool source,
Category cat)
Indicates that a category has been removed from the system. |
void |
datasetAdded(DatasetContainer source,
Dataset set)
Indicates that a dataset has been added to the container. |
void |
datasetRemoved(DatasetContainer source,
Dataset set)
Indicates that a dataset has been removed from the container. |
void |
encompasingTimeRangesChanged(DatasetContainer source)
Indicates that time ranges of some datasets have changed. |
boolean |
equals(java.lang.Object obj)
|
ColorPalette |
getColorPalette()
Returns the color palette for this category. |
java.lang.String |
getHolderID()
Returns a string which identifies this object uniquely. |
java.lang.String |
getName()
Returns the display name of this category. |
Range |
getOverallRange()
Returns the overall data range for this category. |
Range |
getRange()
Returns the data range for this category. |
double |
getReferencetime()
|
float |
getScalar(Repository rep,
int row)
Computes a scalar for this pseudo-category using data from the specified repository for the specified row. |
double |
getScalarDouble(Repository rep,
int row)
Computes a scalar for this pseudo-category using data from the specified repository FOR the specified row. |
java.util.HashMap |
getSettings()
Returns a hashmap of settings (strings) which represent the current object state, and are keyed by string names. |
CategoryType |
getType()
Returns the type of this category. |
boolean |
getUserVsw()
|
float |
getUserVswValue()
|
float[] |
getVector(Repository rep,
int row)
Computes a vector for this pseudo-category using data from the specified repository for the specified row. |
boolean |
isHeliocentricScaling()
|
boolean |
isPresentational()
Returns true if category is presentational. |
boolean |
isProjecting()
|
void |
rangeModelChanged(RangeModel source,
int eventID)
Indicates that the range model changed. |
void |
removeListener(CategoryListener listener)
Unregisters a listener. |
void |
selectedGlyphChanged(DatasetContainer source,
Dataset set)
Indicates that selected glyph has changed in one of the attached datasets. |
void |
setColorPalette(ColorPalette pal)
Changes the color palette. |
void |
setHeliocentricScaling(boolean scaling)
|
void |
setOverallRange(Range rng)
Changes the overall data range for this category. |
void |
setProjection(boolean projection)
|
void |
setRange(Range rng)
Changes the data range for this category. |
void |
setSettings(java.util.HashMap settings)
Changes the settings of this object to match the settings in the specified hashmap. |
void |
setUserVsw(boolean userVsw)
|
void |
setUserVswValue(float val)
|
java.lang.String |
toString()
Basic output |
| Methods inherited from class sonification.dataimport.visbards_resourcetoolkit.repository.category.DefaultPseudoCategory |
|---|
addListener, firePseudoCategoryChanged, getParent, getVectorDouble, isPseudo, pseudoCategoryChanged, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface sonification.dataimport.visbards_resourcetoolkit.repository.category.Category |
|---|
addListener, getColorPalette, getName, getOverallRange, getRange, getType, isPresentational, removeListener, setColorPalette, setOverallRange, setRange |
| Methods inherited from interface sonification.dataimport.visbards_resourcetoolkit.model.SettingsHolder |
|---|
getHolderID, getSettings, setSettings |
| Field Detail |
|---|
protected java.lang.String fName
protected CategoryType fType
protected ColorPalette fPalette
protected Range fRange
protected Range fOverallRange
| Constructor Detail |
|---|
public PseudoLocation(Category parent,
boolean presentational)
| Method Detail |
|---|
public float getScalar(Repository rep,
int row)
getScalar in interface PseudoCategorygetScalar in class DefaultPseudoCategory
public float[] getVector(Repository rep,
int row)
getVector in interface PseudoCategorygetVector in class DefaultPseudoCategory
public double getScalarDouble(Repository rep,
int row)
PseudoCategory
getScalarDouble in interface PseudoCategorygetScalarDouble in class DefaultPseudoCategory
public void datasetAdded(DatasetContainer source,
Dataset set)
DatasetContainerListener
datasetAdded in interface DatasetContainerListener
public void selectedGlyphChanged(DatasetContainer source,
Dataset set)
DatasetContainerListener
selectedGlyphChanged in interface DatasetContainerListener
public void datasetRemoved(DatasetContainer source,
Dataset set)
DatasetContainerListener
datasetRemoved in interface DatasetContainerListenerpublic void encompasingTimeRangesChanged(DatasetContainer source)
DatasetContainerListener
encompasingTimeRangesChanged in interface DatasetContainerListenerpublic void setHeliocentricScaling(boolean scaling)
public void setProjection(boolean projection)
public boolean getUserVsw()
public float getUserVswValue()
public void setUserVsw(boolean userVsw)
public void setUserVswValue(float val)
public boolean canProject()
public double getReferencetime()
public boolean isProjecting()
public boolean isHeliocentricScaling()
public void rangeModelChanged(RangeModel source,
int eventID)
RangeModelListener
rangeModelChanged in interface RangeModelListener
public void categoryAdded(CategoryPool source,
Category cat)
categoryAdded in interface CategoryPoolListener
public void categoryRemoved(CategoryPool source,
Category cat)
categoryRemoved in interface CategoryPoolListenerpublic java.lang.String getName()
getName in interface Categorypublic CategoryType getType()
getType in interface Categorypublic boolean isPresentational()
isPresentational in interface Categorypublic ColorPalette getColorPalette()
getColorPalette in interface Categorypublic void setColorPalette(ColorPalette pal)
setColorPalette in interface Categorypublic Range getRange()
getRange in interface Categorypublic void setRange(Range rng)
setRange in interface Categorypublic Range getOverallRange()
getOverallRange in interface Categorypublic void setOverallRange(Range rng)
setOverallRange in interface Categorypublic void addListener(CategoryListener listener)
addListener in interface Categorypublic void removeListener(CategoryListener listener)
removeListener in interface Categorypublic java.util.HashMap getSettings()
getSettings in interface SettingsHolderpublic void setSettings(java.util.HashMap settings)
setSettings in interface SettingsHolderpublic java.lang.String getHolderID()
getHolderID in interface SettingsHolderpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||