public interface IDesignContainer
Modifier and Type | Interface and Description |
---|---|
static interface |
IDesignContainer.SupportedEventTypes
Specific event types.
|
Modifier and Type | Field and Description |
---|---|
static int |
MAX_SIZE
Design container maximum size in pixel
|
static int |
TOP_AND_LEFT_MARGIN
Design container margin in pixel
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(IDesignElement designElement)
Adds a
IDesignElement object to the container. |
IDesignElement |
getChild(String id)
Gets a specific
IDesignElement object by its identifier. |
Map<String,IDesignElement> |
getChildren()
Gets the children design objects.
|
ICounterManager |
getCounterManager()
Gets the associated counter manager.
|
String |
getId()
Gets the identifier of the designed object.
|
IWidget |
getPrintHeader()
Returns IWidget header for print mode
|
ISelectionManager |
getSelectionManager()
Gets the associated selection manager.
|
String |
getUniqueName()
Gets the unique name representing the designed object.
|
boolean |
isDirty()
Checks whether a container is dirty and needs to be rendered.
|
boolean |
isHelpMode()
Returns true if the help mode active
|
boolean |
isModified()
Returns true if the container has been modified
|
boolean |
isMultipleSelectionMode()
Returns true if multiple selection mode is active, false otherwise
|
boolean |
isPrintMode()
Returns true if the print mode active
|
void |
load()
Allows to load the contained designed objects.
|
void |
setCurrentLeftTab(String name)
Sets current tab in navigator
|
void |
setDirty(boolean isDirty)
Sets the container dirty flag.
|
void |
setHelpMode(boolean helpMode)
Sets the help mode flag
|
void |
setModified(boolean modified)
Sets the modification flag
|
void |
setMultipleSelectionMode(boolean multipleSelectionMode)
Sets the multiple selection mode
|
void |
setPrintMode(boolean printMode)
Sets the print mode flag
|
static final int MAX_SIZE
static final int TOP_AND_LEFT_MARGIN
String getId()
String getUniqueName()
void load()
ISelectionManager getSelectionManager()
ISelectionManager
object.ICounterManager getCounterManager()
ICounterManager
object.Map<String,IDesignElement> getChildren()
IDesignElement
objects.IDesignElement getChild(String id)
IDesignElement
object by its identifier.id
- The identifier in memory.IDesignElement
object.void addChild(IDesignElement designElement)
IDesignElement
object to the container.designElement
- The design object to add.boolean isDirty()
void setDirty(boolean isDirty)
isDirty
- The new value to set to.boolean isMultipleSelectionMode()
void setMultipleSelectionMode(boolean multipleSelectionMode)
multipleSelectionMode
- the multipleSelectionMode to set : true sets the mode to multiple selection, false sets the mode to single selectionboolean isModified()
void setModified(boolean modified)
modified
- boolean isPrintMode()
void setPrintMode(boolean printMode)
printMode
- IWidget getPrintHeader()
boolean isHelpMode()
void setHelpMode(boolean helpMode)
helpMode
- void setCurrentLeftTab(String name)
name
- Copyright © 2021 Visiativ Software. All rights reserved.