org.openmuc.framework.webui.spi
Class MessageView

java.lang.Object
  extended by org.openmuc.framework.webui.spi.MessageView
All Implemented Interfaces:
View

public final class MessageView
extends java.lang.Object
implements View


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmuc.framework.webui.spi.View
View.viewtype
 
Field Summary
static int ERROR
           
static int INFO
           
static int WARNING
           
 
Constructor Summary
MessageView(java.lang.String message, int type)
           
MessageView(java.lang.String page, java.lang.String message, int type)
           
 
Method Summary
 java.util.HashMap<java.lang.String,java.lang.Object> getContext()
           
 java.util.List<java.lang.String> getJavaScripts()
           
 java.lang.String getPage()
           
 java.lang.String getRedirectLocation()
           
 java.util.List<java.lang.String> getStyleSheets()
           
 java.lang.String getTemplate()
           
 View.viewtype getViewType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFO

public static final int INFO
See Also:
Constant Field Values

WARNING

public static final int WARNING
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values
Constructor Detail

MessageView

public MessageView(java.lang.String page,
                   java.lang.String message,
                   int type)

MessageView

public MessageView(java.lang.String message,
                   int type)
Method Detail

getStyleSheets

public java.util.List<java.lang.String> getStyleSheets()
Specified by:
getStyleSheets in interface View

getJavaScripts

public java.util.List<java.lang.String> getJavaScripts()
Specified by:
getJavaScripts in interface View

getTemplate

public java.lang.String getTemplate()
Specified by:
getTemplate in interface View

getContext

public java.util.HashMap<java.lang.String,java.lang.Object> getContext()
Specified by:
getContext in interface View

getPage

public java.lang.String getPage()
Specified by:
getPage in interface View

getRedirectLocation

public java.lang.String getRedirectLocation()
Specified by:
getRedirectLocation in interface View

getViewType

public View.viewtype getViewType()
Specified by:
getViewType in interface View