facets.core.app
Class DialogActionDefaults
java.lang.Object
facets.core.app.DialogSurface.DialogActions
facets.core.app.DialogActionDefaults
public abstract class DialogActionDefaults
- extends DialogSurface.DialogActions
Convenience extension of DialogSurface.DialogActions
.
DialogActionDefaults
extends its superclass by defining a range
of STrigger
s representing commonly required top-level dialog
actions; class methods return instances defining convenience combinations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DialogActionDefaults
public DialogActionDefaults()
newOkCancel
public static final DialogSurface.DialogActions newOkCancel()
newCancel
public static final DialogSurface.DialogActions newCancel()
newOk
public static final DialogSurface.DialogActions newOk()
newApplyOkCancel
public static final DialogSurface.DialogActions newApplyOkCancel()
newTrigger
protected STrigger newTrigger(int type)
- Returns triggers for various actions.
The method can be overridden to implement further action types.
- Parameters:
type
- constant determining the action to be performed