animace.label
Class TestLabel

java.lang.Object
  extended by animace.label.TestLabel

public class TestLabel
extends java.lang.Object

TestLabel ukazuje použití připravených tříd PictureLabel a MoveablePicture Všiměte si, jak se v metodě initPictures() registruje posluchač udalostí, která reprezentuje kliknutí na MoveablePicture. Je to stejný postup jako u standardních AWT.Component.


Nested Class Summary
static class TestLabel.MoveablePictureKeyAction
          AbstractAction starající se o rozběhnutí požadovaného obrázku po stisku klávesy F1 az F12, podle počtu obrázku.
static class TestLabel.MPictureActionListener
          MPictureActionListener způsobí, že po kliknutí na MoveablePicture bude otevřeno okno s některými informacemi o objektu.
 
Constructor Summary
TestLabel()
           
 
Method Summary
static void main(java.lang.String[] args)
          Rozeběhne test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestLabel

public TestLabel()
Method Detail

main

public static void main(java.lang.String[] args)
Rozeběhne test