|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.layout.LayoutProviderData
public class LayoutProviderData
Data type used to store information for a layout provider.
Field Summary | |
---|---|
static int |
MIN_PRIORITY
The minimal allowed priority value. |
Constructor Summary | |
---|---|
LayoutProviderData()
|
Method Summary | |
---|---|
String |
getCategory()
Returns the category. |
String |
getId()
Returns the id. |
AbstractLayoutProvider |
getInstance()
Returns the instance. |
String |
getName()
Returns the name. |
int |
getSupportedPriority(String diagramType)
Returns the supported priority for the given diagram type. |
String |
getType()
Returns the type. |
boolean |
knowsOption(String layoutOption)
Determines whether the layout provider knows the given layout option. |
void |
setCategory(String thecategory)
Sets the category. |
void |
setDiagramSupport(String diagramType,
int priority)
Sets support for the given diagram type. |
void |
setId(String theid)
Sets the id. |
void |
setInstance(AbstractLayoutProvider theinstance)
Sets the instance. |
void |
setName(String thename)
Sets the name. |
void |
setOption(String layoutOption,
boolean known)
Sets the knowledge status of the given layout option. |
void |
setType(String thetype)
Sets the type. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MIN_PRIORITY
Constructor Detail |
---|
public LayoutProviderData()
Method Detail |
---|
public String toString()
toString
in class Object
public void setOption(String layoutOption, boolean known)
layoutOption
- identifier of layout optionknown
- indicates whether the layout provider should know
the optionpublic boolean knowsOption(String layoutOption)
layoutOption
- identifier of layout option
public void setDiagramSupport(String diagramType, int priority)
MIN_PRIORITY
, the type is treated as not supported.
diagramType
- identifier of diagram typepriority
- priority value, or MIN_PRIORITY
if the diagram type
is not supportedpublic int getSupportedPriority(String diagramType)
MIN_PRIORITY
is returned.
diagramType
- diagram type identifier
MIN_PRIORITY
if the diagram
type is not supportedpublic void setId(String theid)
theid
- the id to setpublic String getId()
public void setName(String thename)
thename
- the name to setpublic String getName()
public void setInstance(AbstractLayoutProvider theinstance)
theinstance
- the instance to setpublic AbstractLayoutProvider getInstance()
public void setType(String thetype)
thetype
- the type to setpublic String getType()
public void setCategory(String thecategory)
thecategory
- the category to setpublic String getCategory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |