public class World2DPopupMenuListener extends MouseAdapter
Tato trida definuje popup menu pro ovladani editoru pro tvorbu 2D svetu.
Constructor and Description |
---|
World2DPopupMenuListener(EditorGraphicsWorld2D graphicsWorld2D)
Vzhledem k tomu, ze zobrazovane popup menu orizne nove vytvoreny graficky objekt,
tak je treba vyvolat graficke prekresleni grafickych objektu, ktere obnovi oriznuty objekt.
|
Modifier and Type | Method and Description |
---|---|
void |
mousePressed(MouseEvent e)
Jednorazova udalost mysi - Stisknuti tlacitka mysi.
|
void |
mouseReleased(MouseEvent e)
Jednorazova udalost mysi - Uvolneni tlacitka mysi.
|
static void |
updateText()
Volano pri zmene jazyka - lokalizace.
|
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
public World2DPopupMenuListener(EditorGraphicsWorld2D graphicsWorld2D)
graphicsWorld2D
- EditorGraphicsWorld2D : Reference na tridu, ktera umoznuje prekreslit graficke objekty.public static void updateText()
public final void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
e
- MouseEventpublic final void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class MouseAdapter
e
- MouseEventCopyright © 2008–2014. All rights reserved.