The class IlvLabelLayout defines a number of generic
features and parameters. These are a subset of the mechanism,
methods, and parameters that are available for the IlvGraphModel class. Therefore, they are only
listed here; for detailed explanations, refer to the appropriate
subsection in Generic parameters and features which
describes the corresponding features for the
IlvGraphLayout
class.
In CSS, the main difference is that you add the specification to
the
LabelLayout
section (not to the
GraphLayout
section).
Although the
IlvLabelLayout
class defines the generic parameters, it does not control how they
are used by its subclasses. Each label layout algorithm (that is,
each subclass of
IlvLabelLayout
) supports a subset of the generic features and determines the way
in which it uses the generic parameters. When you create your own
label layout algorithm by subclassing
IlvLabelLayout
, you decide whether to use the features and the way in which you
are going to use them.
The
IlvLabelLayout
class defines the following generic features:
To specify that the label layout is
allowed to run for 60 seconds:
In CSS
Add to the
LabelLayout
section:
allowedTime: "60000";
In Java™
Call:
labelLayout.setAllowedTime(60000);
For more details of all generic features, see Generic parameters and features.