public interface ApplicationView
| Modifier and Type | Method and Description |
|---|---|
void |
clearObject(DialogConstant target)
Clear the given dialog.
|
void |
close(DialogConstant target)
Close the given dialog.
|
ApplicationController |
getApplicationController()
Get the referenced application controller.
|
String |
getDialogTitle(DialogInstance instance)
Get the title for the given dialog instance.
|
<T extends DialogView> |
getDialogView(DialogConstant dialog)
Get the DialogView for the given dialog.
|
ViewModel |
getViewModel(DialogConstant dialog)
Get the ViewModel for the given dialog.
|
void |
hide(DialogConstant target)
Hide the given dialog.
|
boolean |
isOpen(DialogConstant target)
Check if the given dialog is open.
|
boolean |
isShown(DialogConstant target)
Check if the given dialog is shown.
|
void |
open(DialogConstant target)
Open the given dialog.
|
void |
open(DialogConstant target,
boolean openNew)
Open the given dialog.
|
void |
openResource(String resourceId,
boolean purge)
Open the given resource in the view.
|
void |
performAction(ActionType action,
DialogConstant target)
Deprecated.
|
void |
performAction(ActionType action,
DialogConstant target,
Boolean actionFlag)
Perform the specified action.
|
void |
setDialogTitle(DialogInstance instance,
String title)
Set the title to use for the given dialog instance.
|
void |
show(DialogConstant target)
Show the given dialog.
|
@Deprecated void performAction(ActionType action, DialogConstant target)
performAction(ActionType, DialogConstant, Boolean)action - the action to perform.target - the action's target.void performAction(ActionType action, DialogConstant target, Boolean actionFlag)
action - the action to performtarget - the action's targetactionFlag - general purpose flagvoid openResource(String resourceId, boolean purge)
resourceId - the id of the resource to open.purge - if true, remove the resource after useboolean isOpen(DialogConstant target)
target - the dialog to check.boolean isShown(DialogConstant target)
target - the dialog to check.void open(DialogConstant target)
target - the dialog to open.void open(DialogConstant target, boolean openNew)
target - the dialog to openopenNew - if true a new instance of the dialog will be created.void close(DialogConstant target)
target - the dialog to close.void show(DialogConstant target)
target - the dialog to show.void hide(DialogConstant target)
target - the dialog to hide.void clearObject(DialogConstant target)
target - the dialog to clear.ViewModel getViewModel(DialogConstant dialog)
dialog - the which "owns" the ViewModel.<T extends DialogView> T getDialogView(DialogConstant dialog)
T - the DialogView subclass to get.dialog - the dialog which "owns" the DialogView.String getDialogTitle(DialogInstance instance)
instance - the dialog instance in questionvoid setDialogTitle(DialogInstance instance, String title)
instance - the dialog instance in questiontitle - the new title to use for the instanceApplicationController getApplicationController()
Copyright © 2006–2017 Esito AS. All rights reserved.