Packagecom.yworks.graph.input
Classpublic class LabelConfiguration
InheritanceLabelConfiguration Inheritance Object
Implements ILabelConfiguration

Simple implementation of the interface ILabelConfiguration.

See also

ILabelConfiguration
GraphEditorInputMode
GraphEditorInputMode.createDefaultLabelConfiguration


Public Properties
 PropertyDefined By
  parameter : ILabelModelParameter
The label model parameter.
LabelConfiguration
  preferredSize : ISize
The preferred size of the label.
LabelConfiguration
  style : ILabelStyle
The label style.
LabelConfiguration
Public Methods
 MethodDefined By
  
LabelConfiguration(parameter:ILabelModelParameter = null, style:ILabelStyle = null, preferredSize:ISize = null)
Creates a new instance with the given model parameter, style and preferred size.
LabelConfiguration
Property Detail
parameterproperty
parameter:ILabelModelParameter

The label model parameter.


Implementation
    public function get parameter():ILabelModelParameter
    public function set parameter(value:ILabelModelParameter):void
preferredSizeproperty 
preferredSize:ISize

The preferred size of the label.


Implementation
    public function get preferredSize():ISize
    public function set preferredSize(value:ISize):void
styleproperty 
style:ILabelStyle

The label style.


Implementation
    public function get style():ILabelStyle
    public function set style(value:ILabelStyle):void
Constructor Detail
LabelConfiguration()Constructor
public function LabelConfiguration(parameter:ILabelModelParameter = null, style:ILabelStyle = null, preferredSize:ISize = null)

Creates a new instance with the given model parameter, style and preferred size.

Parameters
parameter:ILabelModelParameter (default = null) — The label model parameter.
 
style:ILabelStyle (default = null) — The label style.
 
preferredSize:ISize (default = null) — The preferred size of the label.