Class DialogParameterization
- java.lang.Object
-
- com._1c.g5.aef2.standard.parameterization.DialogParameterization
-
- All Implemented Interfaces:
IParameterization
,IDialogParametrization
- Direct Known Subclasses:
NavigatorTreeDialogParameterization
public class DialogParameterization extends Object implements IDialogParametrization
The basicIDialogParametrization
implementation.
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.aef2.components.IParameterization
VOID
-
-
Constructor Summary
Constructors Constructor Description DialogParameterization()
Creates a new dialog parameterization instance with empty title, height and width equal to 400px and resizable flag set totrue
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
Returns the height of dialog.String
getTitle()
Returns the title of dialog.int
getWidth()
Returns the width of dialog.boolean
isAsyncDialog()
Gets dialog creation async flagboolean
isEditable()
Returns the editable flag.boolean
isResizable()
Returns the resizable flag.void
setAsyncDialog(boolean asyncDialog)
Sets dialog creation async flagvoid
setEditable(boolean editable)
Sets editable property.void
setHeight(int height)
void
setResizable(boolean resizable)
void
setTitle(String title)
void
setWidth(int width)
-
-
-
Method Detail
-
getTitle
public String getTitle()
Description copied from interface:IDialogParametrization
Returns the title of dialog.- Specified by:
getTitle
in interfaceIDialogParametrization
- Returns:
- the title of dialog.
-
setTitle
public void setTitle(String title)
- Parameters:
title
- the title to set
-
getHeight
public int getHeight()
Description copied from interface:IDialogParametrization
Returns the height of dialog.- Specified by:
getHeight
in interfaceIDialogParametrization
- Returns:
- the height of dialog.
-
setHeight
public void setHeight(int height)
- Parameters:
height
- the height to set
-
getWidth
public int getWidth()
Description copied from interface:IDialogParametrization
Returns the width of dialog.- Specified by:
getWidth
in interfaceIDialogParametrization
- Returns:
- the width of dialog.
-
setWidth
public void setWidth(int width)
- Parameters:
width
- the width to set
-
isResizable
public boolean isResizable()
Description copied from interface:IDialogParametrization
Returns the resizable flag.- Specified by:
isResizable
in interfaceIDialogParametrization
- Returns:
- the resizable flag.
-
setResizable
public void setResizable(boolean resizable)
- Parameters:
resizable
- the resizable to set
-
isEditable
public boolean isEditable()
Description copied from interface:IDialogParametrization
Returns the editable flag.- Specified by:
isEditable
in interfaceIDialogParametrization
- Returns:
- the editable flag.
-
setEditable
public void setEditable(boolean editable)
Sets editable property.- Parameters:
editable
- the editable property
-
isAsyncDialog
public boolean isAsyncDialog()
Description copied from interface:IDialogParametrization
Gets dialog creation async flag- Specified by:
isAsyncDialog
in interfaceIDialogParametrization
- Returns:
true
if dialog should be created in async mode,false
otherwise
-
setAsyncDialog
public void setAsyncDialog(boolean asyncDialog)
Sets dialog creation async flag- Parameters:
asyncDialog
-true
if dialog should be created in async mode,false
otherwise
-
-