public class AuToast extends AuResponse
AuResponse.JSONComponent, AuResponse.JSONDate
_cmd, _data, SC_ACTIVATION_TIMEOUT, SC_OUT_OF_SEQUENCE
Constructor and Description |
---|
AuToast(java.lang.String msg,
java.lang.String type,
java.lang.String position,
int duration,
boolean closable,
int animationSpeed)
Shows toast at predefined position.
|
equals, getCommand, getDepends, getEncodedData, getOverrideKey, getRawData, hashCode, toString
public AuToast(java.lang.String msg, java.lang.String type, java.lang.String position, int duration, boolean closable, int animationSpeed)
msg
- the message to show (HTML is accepted)type
- available types are "info", "warning", "error". default "info".position
- predefined positions.duration
- the duration of notification in millisecond. If zero or
negative the notification does not dismiss until user left-clicks outside
of the notification box.closable
- whether to close notification manually or not. If true there will be a
close button on notification message and won't close until user click the button
or duration time up, default false.animationSpeed
- animation speed in milliseconds, default 500ms.Copyright © 2005-2021 Potix Corporation. All Rights Reserved.