musutelsa.utils
Class Alert

java.lang.Object
  extended by musutelsa.utils.Alert

public class Alert
extends Object

Trida pro predavani varovnych zprav do gui. Krome textu samotneho sdeleni uchovava i typ zpravy. Ten muze byt "error", "question" ci "warrning". Podle typu se vykresli odpovidajici okno. Pokud neni typ uveden nebo je zadan nespravne, pouzije se error.

Author:
Martin Kristan 2006, (mail: martin@kristan.eu; personal web: www.kristan.eu; Musutelsa project web: www.musutelsa.jamstudio.eu)

Constructor Summary
Alert(String type, String message)
           
 
Method Summary
 String getMessage()
           
 String getType()
           
 void setMessage(String message)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Alert

public Alert(String type,
             String message)
Method Detail

getType

public String getType()

setType

public void setType(String type)

getMessage

public String getMessage()

setMessage

public void setMessage(String message)