public class EditorComponentListener extends Object implements ComponentListener
Tato trida reaguje na zmeny hlavniho panelu edotoru (na presun aplikace, zmena velikosti, ...).
Constructor and Description |
---|
EditorComponentListener(EditorDesktop aThis)
Konstruktor - uklada referenci na okno u ktereho se bude aktualizovat
rozmery jednotlivych komponent.
|
Modifier and Type | Method and Description |
---|---|
void |
componentHidden(ComponentEvent e)
Reaguje na udalost okna - okno bylo skryto.
|
void |
componentMoved(ComponentEvent e)
Reaguje na udalost okna - pohyb (presun) okna.
|
void |
componentResized(ComponentEvent e)
Reaguje na udalost okna - zmena velikosti okna.
|
void |
componentShown(ComponentEvent e)
Reaguje na udalost okna - okno bylo zobrazeno.
|
public EditorComponentListener(EditorDesktop aThis)
aThis
- MainDesktop : Reference na okno.public final void componentResized(ComponentEvent e)
componentResized
in interface ComponentListener
e
- ComponentEvent : Udalost okna.public void componentMoved(ComponentEvent e)
componentMoved
in interface ComponentListener
e
- ComponentEvent : Udalost okna.public final void componentShown(ComponentEvent e)
componentShown
in interface ComponentListener
e
- ComponentEvent : Udalost okna.public void componentHidden(ComponentEvent e)
componentHidden
in interface ComponentListener
e
- ComponentEvent : Udalost okna.Copyright © 2008–2014. All rights reserved.