Interface IDesignContainer
- All Known Subinterfaces:
- IDesignForm,- IDesignWorkflow
public interface IDesignContainer
- Author:
- vlygeros
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSpecific event types.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intDesign container maximum size in pixelstatic final intDesign container margin in pixel
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddChild(IDesignElement designElement) Adds aIDesignElementobject to the container.Gets a specificIDesignElementobject by its identifier.Gets the children design objects.Gets the associated counter manager.getId()Gets the identifier of the designed object.Returns IWidget header for print modeGets the associated selection manager.Gets the unique name representing the designed object.booleanisDirty()Checks whether a container is dirty and needs to be rendered.booleanReturns true if the help mode activebooleanReturns true if the container has been modifiedbooleanReturns true if multiple selection mode is active, false otherwisebooleanReturns true if the print mode activevoidload()Allows to load the contained designed objects.voidsetCurrentLeftTab(String name) Sets current tab in navigatorvoidsetDirty(boolean isDirty) Sets the container dirty flag.voidsetHelpMode(boolean helpMode) Sets the help mode flagvoidsetModified(boolean modified) Sets the modification flagvoidsetMultipleSelectionMode(boolean multipleSelectionMode) Sets the multiple selection modevoidsetPrintMode(boolean printMode) Sets the print mode flag
- 
Field Details- 
MAX_SIZEstatic final int MAX_SIZEDesign container maximum size in pixel- See Also:
 
- 
TOP_AND_LEFT_MARGINstatic final int TOP_AND_LEFT_MARGINDesign container margin in pixel- See Also:
 
 
- 
- 
Method Details- 
getIdString getId()Gets the identifier of the designed object.- Returns:
- A java.lang.String object.
 
- 
getUniqueNameString getUniqueName()Gets the unique name representing the designed object.- Returns:
- A java.lang.String object.
 
- 
loadvoid load()Allows to load the contained designed objects.
- 
getSelectionManagerISelectionManager getSelectionManager()Gets the associated selection manager.- Returns:
- A ISelectionManagerobject.
 
- 
getCounterManagerICounterManager getCounterManager()Gets the associated counter manager.- Returns:
- A ICounterManagerobject.
 
- 
getChildrenMap<String,IDesignElement> getChildren()Gets the children design objects.- Returns:
- A java.util.Map containing IDesignElementobjects.
 
- 
getChildGets a specificIDesignElementobject by its identifier.- Parameters:
- id- The identifier in memory.
- Returns:
- A IDesignElementobject.
 
- 
addChildAdds aIDesignElementobject to the container.- Parameters:
- designElement- The design object to add.
 
- 
isDirtyboolean isDirty()Checks whether a container is dirty and needs to be rendered.- Returns:
- true if the container is dirty, false otherwise.
 
- 
setDirtyvoid setDirty(boolean isDirty) Sets the container dirty flag.- Parameters:
- isDirty- The new value to set to.
 
- 
isMultipleSelectionModeboolean isMultipleSelectionMode()Returns true if multiple selection mode is active, false otherwise- Returns:
- the multipleSelectionMode
 
- 
setMultipleSelectionModevoid setMultipleSelectionMode(boolean multipleSelectionMode) Sets the multiple selection mode- Parameters:
- multipleSelectionMode- the multipleSelectionMode to set : true sets the mode to multiple selection, false sets the mode to single selection
 
- 
isModifiedboolean isModified()Returns true if the container has been modified- Returns:
- true if the container has been modified
 
- 
setModifiedvoid setModified(boolean modified) Sets the modification flag- Parameters:
- modified-
 
- 
isPrintModeboolean isPrintMode()Returns true if the print mode active- Returns:
- true if the print mode active
 
- 
setPrintModevoid setPrintMode(boolean printMode) Sets the print mode flag- Parameters:
- printMode-
 
- 
getPrintHeaderIWidget getPrintHeader()Returns IWidget header for print mode- Returns:
- Widget header for print mode
 
- 
isHelpModeboolean isHelpMode()Returns true if the help mode active- Returns:
- true if the help mode active
 
- 
setHelpModevoid setHelpMode(boolean helpMode) Sets the help mode flag- Parameters:
- helpMode-
 
- 
setCurrentLeftTabSets current tab in navigator- Parameters:
- name-
 
 
-