|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILayoutConfig
Layout option configuration interface.
Method Summary | |
---|---|
void |
enrich(LayoutContext context)
Enrich the given context with additional information that can be derived from what is already contained. |
int |
getPriority()
Return the priority of this layout configuration, which is relevant when multiple configurations are applied. |
Object |
getValue(LayoutOptionData<?> optionData,
LayoutContext context)
Get the current value for a layout option in the given context. |
void |
transferValues(KGraphData graphData,
LayoutContext context)
Transfer all non-default values that are managed by this layout configuration to the given graph data holder. |
Method Detail |
---|
int getPriority()
void enrich(LayoutContext context)
context
- a context for layout configurationObject getValue(LayoutOptionData<?> optionData, LayoutContext context)
optionData
- a layout option descriptorcontext
- a context for layout configuration
null
if the option has no value in this contextvoid transferValues(KGraphData graphData, LayoutContext context)
graphData
- a graph data instance that can hold layout optionscontext
- a context for layout configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |