Interface Text

  • All Superinterfaces:
    org.eclipse.emf.ecore.EObject, IChartObject, org.eclipse.emf.common.notify.Notifier
    All Known Implementing Classes:
    TextImpl

    public interface Text
    extends IChartObject
    A representation of the model object 'Text'. Text is intended to encapsulate a string to be displayed on the chart.

    The following features are supported:

    See Also:
    AttributePackage.getText()
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Text copyInstance()  
      ColorDefinition getColor()
      Returns the value of the 'Color' containment reference.
      FontDefinition getFont()
      Returns the value of the 'Font' containment reference.
      java.lang.String getValue()
      Returns the value of the 'Value' attribute.
      void setColor​(ColorDefinition value)
      Sets the value of the 'Color' containment reference.
      void setFont​(FontDefinition value)
      Sets the value of the 'Font' containment reference.
      void setValue​(java.lang.String value)
      Sets the value of the 'Value' attribute.
      • Methods inherited from interface org.eclipse.emf.ecore.EObject

        eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
      • Methods inherited from interface org.eclipse.emf.common.notify.Notifier

        eAdapters, eDeliver, eNotify, eSetDeliver
    • Method Detail

      • getValue

        java.lang.String getValue()
        Returns the value of the 'Value' attribute. Gets the actual Text String. Holds the actual Text String.
        Returns:
        the value of the 'Value' attribute.
        See Also:
        setValue(String), AttributePackage.getText_Value()
      • setValue

        void setValue​(java.lang.String value)
        Sets the value of the 'Value' attribute. Sets the actual Text String.
        Parameters:
        value - the new value of the 'Value' attribute.
        See Also:
        getValue()
      • setFont

        void setFont​(FontDefinition value)
        Sets the value of the 'Font' containment reference. Sets the Font Information for this text element.
        Parameters:
        value - the new value of the 'Font' containment reference.
        See Also:
        getFont()
      • setColor

        void setColor​(ColorDefinition value)
        Sets the value of the 'Color' containment reference. Sets the foreground color to be used to render the text.
        Parameters:
        value - the new value of the 'Color' containment reference.
        See Also:
        getColor()