|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILayoutConfig
Layout option configuration interface for default values and configuration of specific
diagram elements.
getProperty()
is used to get the stored or default value for a layout option, while
setProperty()
is used to change the stored option value.
Method Summary | |
---|---|
void |
clearProperties()
Remove all stored layout options. |
LayoutAlgorithmData |
getContainerLayouterData()
Returns the layout algorithm descriptor for the container of the associated element. |
LayoutAlgorithmData |
getContentLayouterData()
Returns the layout algorithm descriptor for the content of the associated element. |
LayoutAlgorithmData |
getLayouterData(String layoutHint,
String diagramType)
Returns the most appropriate layout algorithm for the given layout hint and diagram type. |
List<LayoutOptionData<?>> |
getOptionData()
Returns a list of available layout option descriptors. |
boolean |
isDefault(LayoutOptionData<?> optionData)
Returns true if the given option has its default value. |
void |
setDiagramDefault(LayoutOptionData<?> optionData,
Object value)
Sets the given option as default value for all elements of the associated diagram. |
void |
setFocus(Object element)
Set the focus of this layout configuration on the given element. |
Methods inherited from interface de.cau.cs.kieler.core.properties.IPropertyHolder |
---|
copyProperties, getAllProperties, getProperty, setProperty |
Method Detail |
---|
void setFocus(Object element)
null
is
passed, the current focus is cleared.
element
- a diagram element for which layout options shall be analyzed,
or null
boolean isDefault(LayoutOptionData<?> optionData)
optionData
- a layout option data
List<LayoutOptionData<?>> getOptionData()
LayoutAlgorithmData getContentLayouterData()
LayoutAlgorithmData getContainerLayouterData()
void clearProperties()
void setDiagramDefault(LayoutOptionData<?> optionData, Object value)
optionData
- layout option datavalue
- new default valueLayoutAlgorithmData getLayouterData(String layoutHint, String diagramType)
layoutHint
- identifier of either a layout provider or a layout typediagramType
- identifier of a diagram type
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |