|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.plotter.WeakStyleListener
hep.aida.ref.plotter.BaseStyle
public abstract class BaseStyle
| Method Summary | |
|---|---|
void |
addParent(IBaseStyle style)
|
void |
addParentList(List pl)
|
String[] |
availableParameterOptions(String parameterName)
Below are the AIDA methods. |
String[] |
availableParameters()
Get list of the available parameters (implementation-dependent) |
IBaseStyle |
child(String name)
|
IBaseStyle[] |
children()
|
AbstractStyleParameter |
deepestSetParameter(String parameterName)
|
boolean |
isMyParent(IBaseStyle style)
|
boolean |
isParameterSet(String parameterName)
|
boolean |
isParameterSet(String parameterName,
boolean recursive)
|
boolean |
isVisible()
Get isVisible of the data. |
String |
name()
Get the name of this BaseStyle. |
AbstractStyleParameter |
parameter(String parName)
|
String |
parameterValue(String parameterName)
Get value of a parameter. |
List |
parentList()
Get the parent for this BaseStyle. |
void |
removeAllParents()
Remove all parents and all the parents' parents |
void |
removeParent(IBaseStyle style)
This method removes one parent and all its children (recursively). |
void |
reset()
Return to original (construction time) state. |
boolean |
setParameter(String parameterName)
Set a parameter. |
boolean |
setParameter(String parameterName,
String parValue)
Set a parameter. |
boolean |
setParameter(String parameterName,
String parValue,
String[] parAllowedValues)
|
void |
setParameterDefault(String parameterName,
String parDefaultValue)
|
void |
setParent(IBaseStyle style)
Set the parent for this BaseStyle. |
void |
setParentList(List list)
First remove current parents (if present), then add new parents from the list. |
boolean |
setVisible(boolean visible)
Set isVisible of the data. |
void |
styleChanged(BaseStyle style)
Notify the listeners that the style has changed. |
Class |
type()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String name()
name in interface IBaseStylepublic Class type()
type in interface IBaseStylepublic IBaseStyle child(String name)
child in interface IBaseStylepublic IBaseStyle[] children()
children in interface IBaseStylepublic boolean setVisible(boolean visible)
setVisible in interface IBaseStylepublic boolean isVisible()
isVisible in interface IBaseStylepublic void setParent(IBaseStyle style)
style - The parent for this BaseStyle.public void setParentList(List list)
list == null || list.size() == 0,
just remove current parents.
public void removeAllParents()
public void removeParent(IBaseStyle style)
setParentList(null)
public void addParent(IBaseStyle style)
public void addParentList(List pl)
public boolean isMyParent(IBaseStyle style)
public List parentList()
public AbstractStyleParameter parameter(String parName)
public AbstractStyleParameter deepestSetParameter(String parameterName)
public boolean isParameterSet(String parameterName)
public boolean isParameterSet(String parameterName,
boolean recursive)
public String[] availableParameterOptions(String parameterName)
availableParameterOptions in interface IBaseStylepublic String[] availableParameters()
IBaseStyle
availableParameters in interface IBaseStylepublic String parameterValue(String parameterName)
IBaseStyle
parameterValue in interface IBaseStylepublic void reset()
IBaseStyle
reset in interface IBaseStylepublic boolean setParameter(String parameterName)
IBaseStyle
setParameter in interface IBaseStyleparameterName - Name of the parameter.
public boolean setParameter(String parameterName,
String parValue)
IBaseStyle
setParameter in interface IBaseStyleparameterName - Name of the parameter.parValue - string of options.
public boolean setParameter(String parameterName,
String parValue,
String[] parAllowedValues)
public void setParameterDefault(String parameterName,
String parDefaultValue)
public void styleChanged(BaseStyle style)
styleChanged in interface StyleListenerstyleChanged in class WeakStyleListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||