rero.gui.windows

Class WindowManager

public abstract class WindowManager extends JPanel implements ClientStateListener, ActionListener

Field Summary
protected booleanisRelative
key= value= or some child thereof
protected JToolBarswitchbar
protected SwitchBarOptionsswitchOptions
protected HashMapwindowMap
protected LinkedListwindows
Constructor Summary
WindowManager()
Method Summary
voidactionPerformed(ActionEvent e)
voidaddToSwitchbar(StatusWindow window)
abstract voidaddWindow(StatusWindow window, boolean selected)
protected abstract voiddoActivate(StatusWindow window)
protected abstract voiddoDeactivate(StatusWindow window)
abstract StatusWindowgetActiveWindow()
LinkedListgetAllWindows()
StatusWindowgetWindowFor(Object o)
abstract voidinit()
voidnewActive(int index, boolean includeCurrent)
voidpropertyChanged(String key, String value)

Field Detail

isRelative

protected boolean isRelative
key= value= or some child thereof

switchbar

protected JToolBar switchbar

switchOptions

protected SwitchBarOptions switchOptions

windowMap

protected HashMap windowMap

windows

protected LinkedList windows

Constructor Detail

WindowManager

public WindowManager()

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

addToSwitchbar

public void addToSwitchbar(StatusWindow window)

addWindow

public abstract void addWindow(StatusWindow window, boolean selected)

doActivate

protected abstract void doActivate(StatusWindow window)

doDeactivate

protected abstract void doDeactivate(StatusWindow window)

getActiveWindow

public abstract StatusWindow getActiveWindow()

getAllWindows

public LinkedList getAllWindows()

getWindowFor

public StatusWindow getWindowFor(Object o)

init

public abstract void init()

newActive

public void newActive(int index, boolean includeCurrent)

propertyChanged

public void propertyChanged(String key, String value)