Class LabelContent

  • All Implemented Interfaces:
    StaticContent

    @API(type=NOT_EXTENDABLE,
         src=PRIVATE)
    public class LabelContent
    extends java.lang.Object
    implements StaticContent
    The content correspondent to an oxy_label function.
    • Field Detail

      • WIDTH_RAW_PROPERTY

        public static final java.lang.String WIDTH_RAW_PROPERTY
        The width of the label. The values are parsed values of the "width" property from CSS. For example 20em. Not intended for public use.
        See Also:
        Constant Field Values
    • Constructor Detail

      • LabelContent

        public LabelContent​(java.util.Map<java.lang.String,​java.lang.Object> properties)
        Constructor.
        Parameters:
        properties - The properties map.
    • Method Detail

      • getProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getProperties()
        Returns:
        Returns the properties. The keys are defined as constants in LabelCSSConstants.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()