Constructor
new module:caplin/layout/testing/LayoutStub(nameopt, isClosable, isWritable)
A stub implementation of
module:caplin/layout/Layout
that is used in testing and workbenches.
This class shouldn't be instantiated directly. To create a new layout use
module:caplin/layout/testing/LayoutServiceStub#createLayout
.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
name |
String |
<optional> |
Name of the layout. |
isClosable |
Boolean | Controls whether this layout can be closed or not (default is true ). |
|
isWritable |
Boolean | Controls whether this layout can be saved or not (default is true ). |
- Implements:
Methods
-
getName()
-
- Implements:
- See:
-
getProperty()
-
insertComponent()
-
isClosable()
-
isSaved()
-
- Implements:
- See:
-
isWritable()
-
setName()
-
- Implements:
- See:
-
- module:caplin.layout.Layout#setName
-
setSaved(isSaved)
-
Sets the "saved" state of this layout.
Parameters:
Name Type Description isSaved
Boolean Is the layout saved or not.