|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kahina.core.gui.KahinaPerspective
public class KahinaPerspective
Storage of window configuration and display options for a Kahina instance.
Main functionality is to represent sets of configurations.
A KahinaWindowManager can build a Kahina environment or re-arrange it
according to the instructions contained in a perspective.
It is the task of the KahinaWindowManager to react to user-imposed changes
of display options and window layout by changing the corresponding setting
in the current perspective.
A perspective defines one of the important parts of an application profile, and is therefore usually persistent across sessions.
| Constructor Summary | |
|---|---|
KahinaPerspective(String appID,
String name)
|
|
| Method Summary | |
|---|---|
KahinaPerspective |
copy()
|
void |
disposeWindow(int winID)
Removes a window from the perspective. |
boolean |
equals(Object o)
Perspective equality is decided by their name only! |
Element |
exportXML(Document dom)
|
static KahinaPerspective |
generateDefaultPerspective(Map<String,KahinaView<? extends KahinaObject>> nameToView)
|
String |
getAppID()
|
KahinaArrangement |
getArrangement()
|
KahinaViewConfiguration |
getConfiguration(int viewID)
|
String |
getName()
|
static KahinaPerspective |
importXML(Element topEl)
|
boolean |
isVisible(int viewID)
|
void |
setConfiguration(int viewID,
KahinaViewConfiguration conf)
|
void |
setName(String name)
|
void |
setVisibility(int viewID,
boolean vis)
|
void |
toggleVisibility(int viewID)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KahinaPerspective(String appID,
String name)
| Method Detail |
|---|
public KahinaPerspective copy()
public boolean equals(Object o)
equals in class Objectpublic static KahinaPerspective generateDefaultPerspective(Map<String,KahinaView<? extends KahinaObject>> nameToView)
public static KahinaPerspective importXML(Element topEl)
public void disposeWindow(int winID)
winID - the ID of the window to be removedpublic Element exportXML(Document dom)
public KahinaViewConfiguration getConfiguration(int viewID)
public void setConfiguration(int viewID,
KahinaViewConfiguration conf)
public String getAppID()
public String getName()
public void setName(String name)
public KahinaArrangement getArrangement()
public void setVisibility(int viewID,
boolean vis)
public void toggleVisibility(int viewID)
public boolean isVisible(int viewID)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||