new module:ct-layout /testing /Layout Stub(nameopt, is Closable, is Writable)
A stub implementation of module:ct-layout/Layout
that is used in testing and workbenches.
This class shouldn't be instantiated directly. To create a new layout use
module:ct-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 |
|
isWritable |
Boolean | Controls whether this layout can be saved or not (default is |
- Implements:
Methods
get Name()
- Implements:
- See:
get Property()
- Implements:
- See:
insert Component()
is Closable()
- Implements:
- See:
is Saved()
- Implements:
- See:
is Writable()
- Implements:
- See:
set Name()
- Implements:
- See:
set Saved(is Saved)
Sets the "saved" state of this layout.
Parameters:
Name | Type | Description |
---|---|---|
isSaved |
Boolean | Is the layout saved or not. |