Class KLabelExtensions
java.lang.Object
de.cau.cs.kieler.klighd.krendering.extensions.KLabelExtensions
Provides some helpful extension methods for simplifying the composition of KGraph/KRendering-based view models.
In order to employ them beyond KLighD diagram syntheses you best declare a field of type
Make sure to bind the
By means of that
In order to employ them beyond KLighD diagram syntheses you best declare a field of type
KNodeExtensions in your class and annotate it with Inject.Make sure to bind the
ViewSynthesisShared annotation in the employed
Injector to a Scope, e.g. by calling
Guice.createInjector(KRenderingExtensionsPlugin.createSingletonScopeBindingModule()); or
Guice.createInjector(KRenderingExtensionsPlugin.createNoScopeBindingModule());.By means of that
Injector you may get a new instance of your class,
or you may inject the above mentioned attribute within instances of your class, e.g. by calling
injector.injectMembers(this) in the constructor of your class.- Author:
- chsch, ssm
- This class contains Xtend extension methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCenterEdgeLabel(KEdge edge, String labelText) Adds a central (main) label toKEdgeedge.addCenterEdgeLabel(KEdge edge, String labelText, int fontSize) Adds a central (main) label toKEdgeedge.addCenterEdgeLabel(KEdge edge, String labelText, int fontSize, String fontName) Adds a central (main) label toKEdgeedge.addHeadEdgeLabel(KEdge edge, String labelText) Adds a head label (target side) toKEdgeedge.addHeadEdgeLabel(KEdge edge, String labelText, int fontSize) Adds a head label (target side) toKEdgeedge.addHeadEdgeLabel(KEdge edge, String labelText, int fontSize, String fontName) Adds a head label (target side) toKEdgeedge.addInsideBottomCenteredNodeLabel(KNode node, String labelText) Adds an inside bottom centrally-aligned node label!addInsideBottomCenteredNodeLabel(KNode node, String labelText, int fontSize) Adds an inside bottom centrally-aligned node label!addInsideBottomCenteredNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside bottom centrally-aligned node label!addInsideBottomLeftNodeLabel(KNode node, String labelText) Adds an inside bottom left-aligned node label!addInsideBottomLeftNodeLabel(KNode node, String labelText, int fontSize) Adds an inside bottom left-aligned node label!addInsideBottomLeftNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside bottom left-aligned node label!addInsideBottomRightNodeLabel(KNode node, String labelText) Adds an inside bottom right-aligned node label!addInsideBottomRightNodeLabel(KNode node, String labelText, int fontSize) Adds an inside bottom right-aligned node label!addInsideBottomRightNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside bottom right-aligned node label!addInsideCenteredNodeLabel(KNode node, String labelText) Adds an inside bottom right-aligned node label!addInsideCenteredNodeLabel(KNode node, String labelText, int fontSize) Adds an inside bottom right-aligned node label!addInsideCenteredNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside bottom right-aligned node label!addInsidePortLabel(KPort port, String labelText) addInsidePortLabel(KPort port, String labelText, int fontSize) addInsidePortLabel(KPort port, String labelText, int fontSize, String fontName) addInsideTopCenteredNodeLabel(KNode node, String labelText) Adds an inside top centrally-aligned node label!addInsideTopCenteredNodeLabel(KNode node, String labelText, int fontSize) Adds an inside top centrally-aligned node label!addInsideTopCenteredNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside top centrally-aligned node label!addInsideTopLeftNodeLabel(KNode node, String labelText) Adds an inside top left-aligned node label!addInsideTopLeftNodeLabel(KNode node, String labelText, int fontSize) Adds an inside top left-aligned node label!addInsideTopLeftNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside top left-aligned node label!addInsideTopRightNodeLabel(KNode node, String labelText) Adds an inside top right-aligned node label!addInsideTopRightNodeLabel(KNode node, String labelText, int fontSize) Adds an inside top right-aligned node label!addInsideTopRightNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside top right-aligned node label!<T> KLabeladdLayoutParam(KLabel label, org.eclipse.elk.graph.properties.IProperty<? super T> property, T value) addOutsideBottomCenteredNodeLabel(KNode node, String labelText) Adds an outside bottom centrally-aligned node label!addOutsideBottomCenteredNodeLabel(KNode node, String labelText, int fontSize) Adds an outside bottom centrally-aligned node label!addOutsideBottomCenteredNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside bottom centrally-aligned node label!addOutsideBottomLeftNodeLabel(KNode node, String labelText) Adds an outside bottom left-aligned node label!addOutsideBottomLeftNodeLabel(KNode node, String labelText, int fontSize) Adds an outside bottom left-aligned node label!addOutsideBottomLeftNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside bottom left-aligned node label!addOutsideBottomRightNodeLabel(KNode node, String labelText) Adds an outside bottom right-aligned node label!addOutsideBottomRightNodeLabel(KNode node, String labelText, int fontSize) Adds an outside bottom right-aligned node label!addOutsideBottomRightNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside bottom right-aligned node label!addOutsidePortLabel(KPort port, String labelText) addOutsidePortLabel(KPort port, String labelText, int fontSize) addOutsidePortLabel(KPort port, String labelText, int fontSize, String fontName) addOutsideTopCenteredNodeLabel(KNode node, String labelText) Adds an outside top centrally-aligned node label!addOutsideTopCenteredNodeLabel(KNode node, String labelText, int fontSize) Adds an outside top centrally-aligned node label!addOutsideTopCenteredNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside top centrally-aligned node label!addOutsideTopLeftNodeLabel(KNode node, String labelText) Adds an outside top left-aligned node label!addOutsideTopLeftNodeLabel(KNode node, String labelText, int fontSize) Adds an outside top left-aligned node label!addOutsideTopLeftNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside top left-aligned node label!addOutsideTopRightNodeLabel(KNode node, String labelText) Adds an outside top right-aligned node label!addOutsideTopRightNodeLabel(KNode node, String labelText, int fontSize) Adds an outside top right-aligned node label!addOutsideTopRightNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside top right-aligned node label!addTailEdgeLabel(KEdge edge, String labelText) Adds a tail label (source side) toKEdgeedge.addTailEdgeLabel(KEdge edge, String labelText, int fontSize) Adds a tail label (source side) toKEdgeedge.addTailEdgeLabel(KEdge edge, String labelText, int fontSize, String fontName) Adds a tail label (source side) toKEdgeedge.background(KLabel label, KColor color) Shortcut for setting the label's background color directly.configureCenterEdgeLabel(KLabel label, String labelText) Configures a central (main) edge label, e.g.configureCenterEdgeLabel(KLabel label, String labelText, int fontSize) Configures a central (main) edge label, e.g.configureCenterEdgeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures a central (main) edge label, e.g.configureHeadEdgeLabel(KLabel label, String labelText) Configures a head edge label, e.g.configureHeadEdgeLabel(KLabel label, String labelText, int fontSize) Configures a head edge label, e.g.configureHeadEdgeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures a head edge label, e.g.configureInsideBottomCenteredNodeLabel(KLabel label, String labelText) Configures an inside bottom centrally-aligned node label!configureInsideBottomCenteredNodeLabel(KLabel label, String labelText, int fontSize) Configures an inside bottom centrally-aligned node label!configureInsideBottomCenteredNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside bottom centrally-aligned node label!configureInsideBottomLeftNodeLabel(KLabel label, String labelText) Configures an inside bottom left-aligned node label!configureInsideBottomLeftNodeLabel(KLabel label, String labelText, int fontSize) Configures an inside bottom left-aligned node label!configureInsideBottomLeftNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside bottom left-aligned node label!configureInsideBottomRightNodeLabel(KLabel label, String labelText) Configures an inside bottom right-aligned node label!configureInsideBottomRightNodeLabel(KLabel label, String labelText, int fontSize) Configures an inside bottom right-aligned node label!configureInsideBottomRightNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside bottom right-aligned node label!configureInsideCenteredNodeLabel(KLabel label, String labelText) Configures an inside centrally-aligned node label!configureInsideCenteredNodeLabel(KLabel label, String labelText, int fontSize) Configures an inside centrally-aligned node label!configureInsideCenteredNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside centrally-aligned node label!configureInsidePortLabel(KLabel label, String labelText) configureInsidePortLabel(KLabel label, String labelText, int fontSize) configureInsidePortLabel(KLabel label, String labelText, int fontSize, String fontName) configureInsideTopCenteredNodeLabel(KLabel label, String labelText) Configures an inside top centrally-aligned node label!configureInsideTopCenteredNodeLabel(KLabel label, String labelText, int fontSize) Configures an inside top centrally-aligned node label!configureInsideTopCenteredNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside top centrally-aligned node label!configureInsideTopLeftNodeLabel(KLabel label, String labelText) Configures an inside top left-aligned node label!configureInsideTopLeftNodeLabel(KLabel label, String labelText, int fontSize) Configures an inside top left-aligned node label!configureInsideTopLeftNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside top left-aligned node label!configureInsideTopRightNodeLabel(KLabel label, String labelText) Configures an inside top right-aligned node label!configureInsideTopRightNodeLabel(KLabel label, String labelText, int fontSize) Configures an inside top right-aligned node label!configureInsideTopRightNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside top right-aligned node label!configureOutsideBottomCenteredNodeLabel(KLabel label, String labelText) Configures an outside bottom centrally-aligned node label!configureOutsideBottomCenteredNodeLabel(KLabel label, String labelText, int fontSize) Configures an outside bottom centrally-aligned node label!configureOutsideBottomCenteredNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside bottom centrally-aligned node label!configureOutsideBottomLeftNodeLabel(KLabel label, String labelText) Configures an outside bottom left-aligned node label!configureOutsideBottomLeftNodeLabel(KLabel label, String labelText, int fontSize) Configures an outside bottom left-aligned node label!configureOutsideBottomLeftNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside bottom left-aligned node label!configureOutsideBottomRightNodeLabel(KLabel label, String labelText) Configures an outside bottom right-aligned node label!configureOutsideBottomRightNodeLabel(KLabel label, String labelText, int fontSize) Configures an outside bottom right-aligned node label!configureOutsideBottomRightNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside bottom right-aligned node label!configureOutsidePortLabel(KLabel label, String labelText) configureOutsidePortLabel(KLabel label, String labelText, int fontSize) configureOutsidePortLabel(KLabel label, String labelText, int fontSize, String fontName) configureOutsideTopCenteredNodeLabel(KLabel label, String labelText) Configures an outside top centrally-aligned node label!configureOutsideTopCenteredNodeLabel(KLabel label, String labelText, int fontSize) Configures an outside top centrally-aligned node label!configureOutsideTopCenteredNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside top centrally-aligned node label!configureOutsideTopLeftNodeLabel(KLabel label, String labelText) Configures an outside top left-aligned node label!configureOutsideTopLeftNodeLabel(KLabel label, String labelText, int fontSize) Configures an outside top left-aligned node label!configureOutsideTopLeftNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside top left-aligned node label!configureOutsideTopRightNodeLabel(KLabel label, String labelText) Configures an outside top right-aligned node label!configureOutsideTopRightNodeLabel(KLabel label, String labelText, int fontSize) Configures an outside top right-aligned node label!configureOutsideTopRightNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside top right-aligned node label!configureTailEdgeLabel(KLabel label, String labelText) Configures a tail edge label, e.g.configureTailEdgeLabel(KLabel label, String labelText, int fontSize) Configures a tail edge label, e.g.configureTailEdgeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures a tail edge label, e.g.createLabel(KLabeledGraphElement labeledElement) Convenience creator of KLabels that are not related to semantic elements.createLabel(Object o, KLabeledGraphElement labeledElement) An alias ofgetLabel(Object, KLabeledGraphElement)allowing to express in business that the KLabel will be created at this place.createLabel(Object o1, Object o2, KLabeledGraphElement labeledElement) An alias ofgetLabel(Object, Object, KLabeledGraphElement)allowing to express in business that the KLabel will be created at this place.foreground(KLabel label, KColor color) Shortcut for setting the label's foreground color directly.getFirstText(KLabel label) Reveals the first KText element of a label KRendering, which is assumed to be the label text configuration.getLabel(Object o, KLabeledGraphElement labeledElement) A convenient getter preserving the element image relation by a create extension.getLabel(Object o1, Object o2, KLabeledGraphElement labeledElement) A convenient getter associating the label with to elements preserving the element image relation by a create extension.setLabelPos(KLabel label, float x, float y) setLabelSize(KLabel label, float width, float height)
-
Constructor Details
-
KLabelExtensions
public KLabelExtensions()
-
-
Method Details
-
getLabel
A convenient getter preserving the element image relation by a create extension. -
createLabel
Convenience creator of KLabels that are not related to semantic elements. It is just syntactic sugar. -
createLabel
An alias ofgetLabel(Object, KLabeledGraphElement)allowing to express in business that the KLabel will be created at this place. It is just syntactic sugar. -
getLabel
A convenient getter associating the label with to elements preserving the element image relation by a create extension. -
createLabel
An alias ofgetLabel(Object, Object, KLabeledGraphElement)allowing to express in business that the KLabel will be created at this place. It is just syntactic sugar. -
setLabelSize
-
setLabelPos
-
addLayoutParam
-
configureInsideCenteredNodeLabel
Configures an inside centrally-aligned node label! -
configureInsideCenteredNodeLabel
Configures an inside centrally-aligned node label! -
configureInsideCenteredNodeLabel
public KLabel configureInsideCenteredNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside centrally-aligned node label! -
addInsideCenteredNodeLabel
Adds an inside bottom right-aligned node label! -
addInsideCenteredNodeLabel
Adds an inside bottom right-aligned node label! -
addInsideCenteredNodeLabel
public KLabel addInsideCenteredNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside bottom right-aligned node label! -
configureInsideBottomCenteredNodeLabel
Configures an inside bottom centrally-aligned node label! -
configureInsideBottomCenteredNodeLabel
Configures an inside bottom centrally-aligned node label! -
configureInsideBottomCenteredNodeLabel
public KLabel configureInsideBottomCenteredNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside bottom centrally-aligned node label! -
addInsideBottomCenteredNodeLabel
Adds an inside bottom centrally-aligned node label! -
addInsideBottomCenteredNodeLabel
Adds an inside bottom centrally-aligned node label! -
addInsideBottomCenteredNodeLabel
public KLabel addInsideBottomCenteredNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside bottom centrally-aligned node label! -
configureInsideBottomLeftNodeLabel
Configures an inside bottom left-aligned node label! -
configureInsideBottomLeftNodeLabel
Configures an inside bottom left-aligned node label! -
configureInsideBottomLeftNodeLabel
public KLabel configureInsideBottomLeftNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside bottom left-aligned node label! -
addInsideBottomLeftNodeLabel
Adds an inside bottom left-aligned node label! -
addInsideBottomLeftNodeLabel
Adds an inside bottom left-aligned node label! -
addInsideBottomLeftNodeLabel
public KLabel addInsideBottomLeftNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside bottom left-aligned node label! -
configureInsideBottomRightNodeLabel
Configures an inside bottom right-aligned node label! -
configureInsideBottomRightNodeLabel
Configures an inside bottom right-aligned node label! -
configureInsideBottomRightNodeLabel
public KLabel configureInsideBottomRightNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside bottom right-aligned node label! -
addInsideBottomRightNodeLabel
Adds an inside bottom right-aligned node label! -
addInsideBottomRightNodeLabel
Adds an inside bottom right-aligned node label! -
addInsideBottomRightNodeLabel
public KLabel addInsideBottomRightNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside bottom right-aligned node label! -
configureInsideTopCenteredNodeLabel
Configures an inside top centrally-aligned node label! -
configureInsideTopCenteredNodeLabel
Configures an inside top centrally-aligned node label! -
configureInsideTopCenteredNodeLabel
public KLabel configureInsideTopCenteredNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside top centrally-aligned node label! -
addInsideTopCenteredNodeLabel
Adds an inside top centrally-aligned node label! -
addInsideTopCenteredNodeLabel
Adds an inside top centrally-aligned node label! -
addInsideTopCenteredNodeLabel
public KLabel addInsideTopCenteredNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside top centrally-aligned node label! -
configureInsideTopLeftNodeLabel
Configures an inside top left-aligned node label! -
configureInsideTopLeftNodeLabel
Configures an inside top left-aligned node label! -
configureInsideTopLeftNodeLabel
public KLabel configureInsideTopLeftNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside top left-aligned node label! -
addInsideTopLeftNodeLabel
Adds an inside top left-aligned node label! -
addInsideTopLeftNodeLabel
Adds an inside top left-aligned node label! -
addInsideTopLeftNodeLabel
public KLabel addInsideTopLeftNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside top left-aligned node label! -
configureInsideTopRightNodeLabel
Configures an inside top right-aligned node label! -
configureInsideTopRightNodeLabel
Configures an inside top right-aligned node label! -
configureInsideTopRightNodeLabel
public KLabel configureInsideTopRightNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an inside top right-aligned node label! -
addInsideTopRightNodeLabel
Adds an inside top right-aligned node label! -
addInsideTopRightNodeLabel
Adds an inside top right-aligned node label! -
addInsideTopRightNodeLabel
public KLabel addInsideTopRightNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an inside top right-aligned node label! -
configureOutsideBottomCenteredNodeLabel
public KLabel configureOutsideBottomCenteredNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside bottom centrally-aligned node label! -
configureOutsideBottomCenteredNodeLabel
Configures an outside bottom centrally-aligned node label! -
configureOutsideBottomCenteredNodeLabel
Configures an outside bottom centrally-aligned node label! -
addOutsideBottomCenteredNodeLabel
Adds an outside bottom centrally-aligned node label! -
addOutsideBottomCenteredNodeLabel
Adds an outside bottom centrally-aligned node label! -
addOutsideBottomCenteredNodeLabel
public KLabel addOutsideBottomCenteredNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside bottom centrally-aligned node label! -
configureOutsideBottomLeftNodeLabel
Configures an outside bottom left-aligned node label! -
configureOutsideBottomLeftNodeLabel
Configures an outside bottom left-aligned node label! -
configureOutsideBottomLeftNodeLabel
public KLabel configureOutsideBottomLeftNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside bottom left-aligned node label! -
addOutsideBottomLeftNodeLabel
Adds an outside bottom left-aligned node label! -
addOutsideBottomLeftNodeLabel
Adds an outside bottom left-aligned node label! -
addOutsideBottomLeftNodeLabel
public KLabel addOutsideBottomLeftNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside bottom left-aligned node label! -
configureOutsideBottomRightNodeLabel
Configures an outside bottom right-aligned node label! -
configureOutsideBottomRightNodeLabel
Configures an outside bottom right-aligned node label! -
configureOutsideBottomRightNodeLabel
public KLabel configureOutsideBottomRightNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside bottom right-aligned node label! -
addOutsideBottomRightNodeLabel
Adds an outside bottom right-aligned node label! -
addOutsideBottomRightNodeLabel
Adds an outside bottom right-aligned node label! -
addOutsideBottomRightNodeLabel
public KLabel addOutsideBottomRightNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside bottom right-aligned node label! -
configureOutsideTopCenteredNodeLabel
Configures an outside top centrally-aligned node label! -
configureOutsideTopCenteredNodeLabel
Configures an outside top centrally-aligned node label! -
configureOutsideTopCenteredNodeLabel
public KLabel configureOutsideTopCenteredNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside top centrally-aligned node label! -
addOutsideTopCenteredNodeLabel
Adds an outside top centrally-aligned node label! -
addOutsideTopCenteredNodeLabel
Adds an outside top centrally-aligned node label! -
addOutsideTopCenteredNodeLabel
public KLabel addOutsideTopCenteredNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside top centrally-aligned node label! -
configureOutsideTopLeftNodeLabel
Configures an outside top left-aligned node label! -
configureOutsideTopLeftNodeLabel
Configures an outside top left-aligned node label! -
configureOutsideTopLeftNodeLabel
public KLabel configureOutsideTopLeftNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside top left-aligned node label! -
addOutsideTopLeftNodeLabel
Adds an outside top left-aligned node label! -
addOutsideTopLeftNodeLabel
Adds an outside top left-aligned node label! -
addOutsideTopLeftNodeLabel
public KLabel addOutsideTopLeftNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside top left-aligned node label! -
configureOutsideTopRightNodeLabel
Configures an outside top right-aligned node label! -
configureOutsideTopRightNodeLabel
Configures an outside top right-aligned node label! -
configureOutsideTopRightNodeLabel
public KLabel configureOutsideTopRightNodeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures an outside top right-aligned node label! -
addOutsideTopRightNodeLabel
Adds an outside top right-aligned node label! -
addOutsideTopRightNodeLabel
Adds an outside top right-aligned node label! -
addOutsideTopRightNodeLabel
public KLabel addOutsideTopRightNodeLabel(KNode node, String labelText, int fontSize, String fontName) Adds an outside top right-aligned node label! -
configureInsidePortLabel
-
configureInsidePortLabel
-
configureInsidePortLabel
-
addInsidePortLabel
-
addInsidePortLabel
-
addInsidePortLabel
-
configureOutsidePortLabel
-
configureOutsidePortLabel
-
configureOutsidePortLabel
-
addOutsidePortLabel
-
addOutsidePortLabel
-
addOutsidePortLabel
-
configureCenterEdgeLabel
Configures a central (main) edge label, e.g. a state transition guard/effect label! -
configureCenterEdgeLabel
Configures a central (main) edge label, e.g. a state transition guard/effect label! -
configureCenterEdgeLabel
public KLabel configureCenterEdgeLabel(KLabel label, String labelText, int fontSize, String fontName) Configures a central (main) edge label, e.g. a state transition guard/effect label! -
addCenterEdgeLabel
Adds a central (main) label toKEdgeedge. -
addCenterEdgeLabel
Adds a central (main) label toKEdgeedge. -
addCenterEdgeLabel
Adds a central (main) label toKEdgeedge. -
configureHeadEdgeLabel
Configures a head edge label, e.g. the cardinality of a relation in an class diagram! -
configureHeadEdgeLabel
Configures a head edge label, e.g. the cardinality of a relation in an class diagram! -
configureHeadEdgeLabel
Configures a head edge label, e.g. the cardinality of a relation in an class diagram! -
addHeadEdgeLabel
Adds a head label (target side) toKEdgeedge. -
addHeadEdgeLabel
Adds a head label (target side) toKEdgeedge. -
addHeadEdgeLabel
Adds a head label (target side) toKEdgeedge. -
configureTailEdgeLabel
Configures a tail edge label, e.g. the cardinality of a relation in an class diagram! -
configureTailEdgeLabel
Configures a tail edge label, e.g. the cardinality of a relation in an class diagram! -
configureTailEdgeLabel
Configures a tail edge label, e.g. the cardinality of a relation in an class diagram! -
addTailEdgeLabel
Adds a tail label (source side) toKEdgeedge. -
addTailEdgeLabel
Adds a tail label (source side) toKEdgeedge. -
addTailEdgeLabel
Adds a tail label (source side) toKEdgeedge. -
getFirstText
Reveals the first KText element of a label KRendering, which is assumed to be the label text configuration. This is useful for additionally linking it with the business element represented by the label. Note: KLabelNodes of the Piccolo2D binding are configured to ignore the KText element while selecting them. Thus, only the KLabel needs to be linked to the source element. -
foreground
Shortcut for setting the label's foreground color directly. -
background
Shortcut for setting the label's background color directly.
-