Documentation of 'org.jplot2d.element.impl.PlotMarginImpl' Java class
PlotMarginImpl
org.jplot2d.element.impl

Class PlotMarginImpl

    • Constructor Detail

      • PlotMarginImpl

        public PlotMarginImpl()
    • Method Detail

      • getId

        public java.lang.String getId()
        Description copied from interface: Element
        Returns the id string of this element
        Specified by:
        getId in interface Element
        Returns:
        the id string
      • getInvokeStepFormParent

        public InvokeStep getInvokeStepFormParent()
        Description copied from interface: ElementEx
        Return the invoke step to get this object from its parent.
        Specified by:
        getInvokeStepFormParent in interface ElementEx
        Returns:
        the invoke step
      • isAutoTop

        public boolean isAutoTop()
        Description copied from interface: PlotMargin
        Returns true if the margin is a auto chose nice value.
        Specified by:
        isAutoTop in interface PlotMargin
        Returns:
        true if the margin is a auto chose nice value
      • isAutoLeft

        public boolean isAutoLeft()
        Description copied from interface: PlotMargin
        Returns true if the margin is a auto chose nice value.
        Specified by:
        isAutoLeft in interface PlotMargin
        Returns:
        true if the margin is a auto chose nice value
      • isAutoBottom

        public boolean isAutoBottom()
        Description copied from interface: PlotMargin
        Returns true if the margin is a auto chose nice value.
        Specified by:
        isAutoBottom in interface PlotMargin
        Returns:
        true if the margin is a auto chose nice value
      • isAutoRight

        public boolean isAutoRight()
        Description copied from interface: PlotMargin
        Returns true if the margin is a auto chose nice value.
        Specified by:
        isAutoRight in interface PlotMargin
        Returns:
        true if the margin is a auto chose nice value
      • setAutoTop

        public void setAutoTop(boolean auto)
        Description copied from interface: PlotMargin
        Set to true to let layout director to choose a nice value. If set to false, user must supply the margin value by PlotMargin.setTop(double).
        Specified by:
        setAutoTop in interface PlotMargin
        Parameters:
        auto - the flag
      • setAutoLeft

        public void setAutoLeft(boolean auto)
        Description copied from interface: PlotMargin
        Set to true to let layout director to choose a nice value. If set to false, user must supply the margin value by PlotMargin.setLeft(double).
        Specified by:
        setAutoLeft in interface PlotMargin
        Parameters:
        auto - the flag
      • setAutoBottom

        public void setAutoBottom(boolean auto)
        Description copied from interface: PlotMargin
        Set to true to let layout director to choose a nice value. If set to false, user must supply the margin value by PlotMargin.setBottom(double).
        Specified by:
        setAutoBottom in interface PlotMargin
        Parameters:
        auto - the flag
      • setAutoRight

        public void setAutoRight(boolean auto)
        Description copied from interface: PlotMargin
        Set to true to let layout director to choose a nice value. If set to false, user must supply the margin value by PlotMargin.setRight(double).
        Specified by:
        setAutoRight in interface PlotMargin
        Parameters:
        auto - the flag
      • getTop

        public double getTop()
        Description copied from interface: PlotMargin
        Returns the actual margin value.
        Specified by:
        getTop in interface PlotMargin
        Returns:
        the actual margin value
      • getLeft

        public double getLeft()
        Description copied from interface: PlotMargin
        Returns the actual margin value.
        Specified by:
        getLeft in interface PlotMargin
        Returns:
        the actual margin value
      • getBottom

        public double getBottom()
        Description copied from interface: PlotMargin
        Returns the actual margin value.
        Specified by:
        getBottom in interface PlotMargin
        Returns:
        the actual margin value
      • getRight

        public double getRight()
        Description copied from interface: PlotMargin
        Returns the actual margin value.
        Specified by:
        getRight in interface PlotMargin
        Returns:
        the actual margin value
      • setTop

        public void setTop(double marginTop)
        Description copied from interface: PlotMargin
        Sets the top margin value. Setting a new value will disable auto margin calculation and make PlotMargin.isAutoTop() returns false.
        Specified by:
        setTop in interface PlotMargin
      • setLeft

        public void setLeft(double marginLeft)
        Description copied from interface: PlotMargin
        Sets the left margin value. Setting a new value will disable auto margin calculation and make PlotMargin.isAutoLeft() returns false.
        Specified by:
        setLeft in interface PlotMargin
      • setBottom

        public void setBottom(double marginBottom)
        Description copied from interface: PlotMargin
        Sets the bottom margin value. Setting a new value will disable auto margin calculation and make PlotMargin.isAutoBottom() returns false.
        Specified by:
        setBottom in interface PlotMargin
      • setRight

        public void setRight(double marginRight)
        Description copied from interface: PlotMargin
        Sets the right margin value. Setting a new value will disable auto margin calculation and make PlotMargin.isAutoRight() returns false.
        Specified by:
        setRight in interface PlotMargin
      • getExtraTop

        public double getExtraTop()
        Description copied from interface: PlotMargin
        Returns the extra top margin.
        Specified by:
        getExtraTop in interface PlotMargin
        Returns:
        the extra top margin
      • getExtraLeft

        public double getExtraLeft()
        Description copied from interface: PlotMargin
        Returns the extra left margin.
        Specified by:
        getExtraLeft in interface PlotMargin
        Returns:
        the extra left margin
      • getExtraBottom

        public double getExtraBottom()
        Description copied from interface: PlotMargin
        Returns the extra bottom margin.
        Specified by:
        getExtraBottom in interface PlotMargin
        Returns:
        the extra bottom margin
      • getExtraRight

        public double getExtraRight()
        Description copied from interface: PlotMargin
        Returns the extra right margin.
        Specified by:
        getExtraRight in interface PlotMargin
        Returns:
        the extra right margin
      • setExtraTop

        public void setExtraTop(double marginTop)
        Description copied from interface: PlotMargin
        Sets the extra top margin.
        Specified by:
        setExtraTop in interface PlotMargin
        Parameters:
        marginTop - the extra top margin
      • setExtraLeft

        public void setExtraLeft(double marginLeft)
        Description copied from interface: PlotMargin
        Sets the extra left margin.
        Specified by:
        setExtraLeft in interface PlotMargin
      • setExtraBottom

        public void setExtraBottom(double marginBottom)
        Description copied from interface: PlotMargin
        Sets the extra bottom margin.
        Specified by:
        setExtraBottom in interface PlotMargin
      • setExtraRight

        public void setExtraRight(double marginRight)
        Description copied from interface: PlotMargin
        Sets the extra right margin.
        Specified by:
        setExtraRight in interface PlotMargin
      • copyStructure

        public PlotMarginImpl copyStructure(java.util.Map<ElementEx,ElementEx> orig2copyMap)
        Description copied from interface: ElementEx
        Create a structural copy of this element and put them into orig2copyMap. All properties are not copied. The parent of the copy are not set by this method.
        Specified by:
        copyStructure in interface ElementEx
        Overrides:
        copyStructure in class ElementImpl
        Parameters:
        orig2copyMap - original element to copy map
        Returns:
        the structural copy of this element

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.