public class WindowDelegate
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOOKUP_CANCEL_ACTION_ID |
static java.lang.String |
LOOKUP_ENTER_PRESSED_ACTION_ID |
static java.lang.String |
LOOKUP_ITEM_CLICK_ACTION_ID |
static java.lang.String |
LOOKUP_SELECT_ACTION_ID |
Constructor and Description |
---|
WindowDelegate(Window window) |
Modifier and Type | Method and Description |
---|---|
void |
applySettings(Settings settings) |
void |
deleteSettings() |
void |
disposeComponents() |
Datasource |
getDatasource() |
Settings |
getSettings() |
Window |
getWrapper() |
boolean |
isModified() |
boolean |
isValid() |
Window.Editor |
openEditor(Entity item,
WindowManager.OpenType openType) |
Window.Editor |
openEditor(Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params) |
Window.Editor |
openEditor(Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params,
Datasource parentDs) |
Window.Editor |
openEditor(java.lang.String windowAlias,
Entity item,
WindowManager.OpenType openType) |
Window.Editor |
openEditor(java.lang.String windowAlias,
Entity item,
WindowManager.OpenType openType,
Datasource parentDs) |
Window.Editor |
openEditor(java.lang.String windowAlias,
Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params) |
Window.Editor |
openEditor(java.lang.String windowAlias,
Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params,
Datasource parentDs) |
Frame |
openFrame(Component parent,
java.lang.String windowAlias) |
Frame |
openFrame(Component parent,
java.lang.String windowAlias,
java.util.Map<java.lang.String,java.lang.Object> params) |
Window.Lookup |
openLookup(java.lang.Class<? extends Entity> entityClass,
Window.Lookup.Handler handler,
WindowManager.OpenType openType) |
Window.Lookup |
openLookup(java.lang.Class<? extends Entity> entityClass,
Window.Lookup.Handler handler,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params) |
Window.Lookup |
openLookup(java.lang.String windowAlias,
Window.Lookup.Handler handler,
WindowManager.OpenType openType) |
Window.Lookup |
openLookup(java.lang.String windowAlias,
Window.Lookup.Handler handler,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params) |
Window |
openWindow(java.lang.String windowAlias,
WindowManager.OpenType openType) |
Window |
openWindow(java.lang.String windowAlias,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params) |
void |
postValidate(ValidationErrors errors) |
boolean |
preClose(java.lang.String actionId) |
void |
saveSettings() |
void |
showValidationErrors(ValidationErrors errors) |
void |
validate() |
Window |
wrapBy(java.lang.Class<?> wrapperClass) |
public static final java.lang.String LOOKUP_ITEM_CLICK_ACTION_ID
public static final java.lang.String LOOKUP_ENTER_PRESSED_ACTION_ID
public static final java.lang.String LOOKUP_SELECT_ACTION_ID
public static final java.lang.String LOOKUP_CANCEL_ACTION_ID
public WindowDelegate(Window window)
public Window wrapBy(java.lang.Class<?> wrapperClass)
public Window getWrapper()
public Datasource getDatasource()
public Settings getSettings()
public void saveSettings()
public void deleteSettings()
public void applySettings(Settings settings)
public void disposeComponents()
public boolean isValid()
public void validate() throws ValidationException
ValidationException
public void postValidate(ValidationErrors errors)
public void showValidationErrors(ValidationErrors errors)
public boolean preClose(java.lang.String actionId)
public boolean isModified()
public Window openWindow(java.lang.String windowAlias, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
public Window openWindow(java.lang.String windowAlias, WindowManager.OpenType openType)
public Window.Editor openEditor(Entity item, WindowManager.OpenType openType)
public Window.Editor openEditor(Entity item, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
public Window.Editor openEditor(Entity item, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params, Datasource parentDs)
public Window.Editor openEditor(java.lang.String windowAlias, Entity item, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params, Datasource parentDs)
public Window.Editor openEditor(java.lang.String windowAlias, Entity item, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
public Window.Editor openEditor(java.lang.String windowAlias, Entity item, WindowManager.OpenType openType, Datasource parentDs)
public Window.Editor openEditor(java.lang.String windowAlias, Entity item, WindowManager.OpenType openType)
public Window.Lookup openLookup(java.lang.Class<? extends Entity> entityClass, Window.Lookup.Handler handler, WindowManager.OpenType openType)
public Window.Lookup openLookup(java.lang.Class<? extends Entity> entityClass, Window.Lookup.Handler handler, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
public Window.Lookup openLookup(java.lang.String windowAlias, Window.Lookup.Handler handler, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
public Window.Lookup openLookup(java.lang.String windowAlias, Window.Lookup.Handler handler, WindowManager.OpenType openType)