Class Anchored

    • Field Detail

      • m_MetaDataKey

        protected String m_MetaDataKey
        the key in the meta-data that contains the type.
      • m_Format

        protected String m_Format
        the label for the rectangles.
      • m_Font

        protected Font m_Font
        the label font.
      • m_Anchor

        protected ImageAnchor m_Anchor
        the label anchor.
      • m_OffsetX

        protected int m_OffsetX
        the x offset for the label.
      • m_OffsetY

        protected int m_OffsetY
        the y offset for the label.
    • Constructor Detail

      • Anchored

        public Anchored()
    • Method Detail

      • setMetaDataKey

        public void setMetaDataKey​(String value)
        Sets the key in the meta-data of the object that contains the type.
        Parameters:
        value - the key
      • getMetaDataKey

        public String getMetaDataKey()
        Returns the key in the meta-data of the object that contains the type.
        Returns:
        the key
      • metaDataKeyTipText

        public String metaDataKeyTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setFormat

        public void setFormat​(String value)
        Sets the label format.
        Parameters:
        value - the label format
      • getFormat

        public String getFormat()
        Returns the label format.
        Returns:
        the label format
      • formatTipText

        public String formatTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setFont

        public void setFont​(Font value)
        Sets the label font.
        Parameters:
        value - the label font
      • getFont

        public Font getFont()
        Returns the label font.
        Returns:
        the label font
      • fontTipText

        public String fontTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setReference

        public void setReference​(Anchored.AnchorReference value)
        Sets the reference for the anchor.
        Parameters:
        value - the reference
      • getReference

        public Anchored.AnchorReference getReference()
        Returns the reference for the anchor.
        Returns:
        the reference
      • referenceTipText

        public String referenceTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setAnchor

        public void setAnchor​(ImageAnchor value)
        Sets the anchor for the label.
        Parameters:
        value - the anchor
      • getAnchor

        public ImageAnchor getAnchor()
        Returns the anchor for the label.
        Returns:
        the anchor
      • anchorTipText

        public String anchorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOffsetX

        public void setOffsetX​(int value)
        Sets the X offset for the label.
        Parameters:
        value - the X offset
      • getOffsetX

        public int getOffsetX()
        Returns the X offset for the label.
        Returns:
        the X offset
      • offsetXTipText

        public String offsetXTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOffsetY

        public void setOffsetY​(int value)
        Sets the Y offset for the label.
        Parameters:
        value - the Y offset
      • getOffsetY

        public int getOffsetY()
        Returns the Y offset for the label.
        Returns:
        the Y offset
      • offsetYTipText

        public String offsetYTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • generateQuickInfo

        protected String generateQuickInfo()
        Returns a quick info about the object, which can be displayed in the GUI.
        Overrides:
        generateQuickInfo in class AbstractLabelPlotter
        Returns:
        null if no info available, otherwise short string