com.businessobjects.jsf.sdk.properties
Class AlertProps

java.lang.Object
  extended bycom.businessobjects.jsf.sdk.properties.AlertProps
All Implemented Interfaces:
java.io.Serializable

public class AlertProps
extends java.lang.Object
implements java.io.Serializable

Contains properties for determining how alert messages are displayed in the ItemsGrid component.

See Also:
Serialized Form

Constructor Summary
AlertProps()
           
 
Method Summary
 java.lang.String getImageUrl()
           Gets the URL of the image to be displayed when an alert occurs.
 boolean isShowAlertMessage()
           Returns a value that indicates whether to show the message on an alert image's tooltip.
 boolean isShowAlertTime()
           Returns a value that indicates whether to show the date and time an alert occurred.
 boolean isVisible()
           Returns a value that indicates whether to display alerts.
 void setImageUrl(java.lang.String imageUrl)
           Sets the URL of the image to be displayed when an alert occurs.
 void setShowAlertMessage(boolean showAlertMessage)
           Sets a value that indicates whether to show the message on an alert image's tooltip.
 void setShowAlertTime(boolean showAlertTime)
           Sets a value that indicates whether to show the date and time an alert occurred.
 void setVisible(boolean visible)
           Sets a value that indicates whether to display alerts.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertProps

public AlertProps()
Method Detail

isVisible

public boolean isVisible()

Returns a value that indicates whether to display alerts.

Returns:
true if alerts are displayed, otherwise, false.

setVisible

public void setVisible(boolean visible)

Sets a value that indicates whether to display alerts.

Parameters:
visible - true to display alerts, otherwise, false.

isShowAlertMessage

public boolean isShowAlertMessage()

Returns a value that indicates whether to show the message on an alert image's tooltip.

Returns:
true if the message is shown on an alert's image tooltip, otherwise, false.

setShowAlertMessage

public void setShowAlertMessage(boolean showAlertMessage)

Sets a value that indicates whether to show the message on an alert image's tooltip.

Parameters:
showAlertMessage - true to show the message on an alert's image tooltip, otherwise, false.

isShowAlertTime

public boolean isShowAlertTime()

Returns a value that indicates whether to show the date and time an alert occurred.

Returns:
true if the last update time is shown on the alert's image tooltip, otherwise, false.

setShowAlertTime

public void setShowAlertTime(boolean showAlertTime)

Sets a value that indicates whether to show the date and time an alert occurred.

Parameters:
showAlertTime - true to show the last update time on the alert's image tooltip, otherwise, false.

getImageUrl

public java.lang.String getImageUrl()

Gets the URL of the image to be displayed when an alert occurs.

Returns:
A String representing the URL of the image to be displayed when an alert occurs.

setImageUrl

public void setImageUrl(java.lang.String imageUrl)

Sets the URL of the image to be displayed when an alert occurs.

Parameters:
imageUrl - A String representing the URL of the image to be displayed when an alert occurs.