IBoxStyle
hep.aida

Interface IBoxStyle

  • All Superinterfaces:
    IBaseStyle
    All Known Subinterfaces:
    IRotatableBoxStyle
    All Known Implementing Classes:
    BoxStyle


    public interface IBoxStyleextends IBaseStyle
    Generic style for any "scene part" on the plot. Scene parts are independent plottable objects like statistics and legend box, data area, title area etc etc.
    • Field Detail

      • BOTTOM_LEFT

        static final int BOTTOM_LEFT
        Constants specifying position of the box's origin.
        See Also:
        Constant Field Values
      • MIDDLE_LEFT

        static final int MIDDLE_LEFT
        Constants specifying position of the box's origin.
        See Also:
        Constant Field Values
      • TOP_LEFT

        static final int TOP_LEFT
        Constants specifying position of the box's origin.
        See Also:
        Constant Field Values
      • TOP_CENTER

        static final int TOP_CENTER
        Constants specifying position of the box's origin.
        See Also:
        Constant Field Values
      • TOP_RIGHT

        static final int TOP_RIGHT
        Constants specifying position of the box's origin.
        See Also:
        Constant Field Values
      • MIDDLE_RIGHT

        static final int MIDDLE_RIGHT
        Constants specifying position of the box's origin.
        See Also:
        Constant Field Values
      • BOTTOM_RIGHT

        static final int BOTTOM_RIGHT
        Constants specifying position of the box's origin.
        See Also:
        Constant Field Values
      • BOTTOM_CENTER

        static final int BOTTOM_CENTER
        Constants specifying position of the box's origin.
        See Also:
        Constant Field Values
      • CENTER

        static final int CENTER
        Constants specifying position of the box's origin.
        See Also:
        Constant Field Values
    • Method Detail

      • backgroundStyle

        IFillStyle backgroundStyle()
        Get the IFillStyle that controls the background of the scene part.
        Returns:
        The background IFillStyle.
      • setBackgroundStyle

        boolean setBackgroundStyle(IFillStyle fillStyle)
      • foregroundStyle

        IFillStyle foregroundStyle()
        Get the IFillStyle that controls the foreground of the scene part. The foreground controls the color of what appears in front unless otherwise specified by other styles. (Is this really needed?)
        Returns:
        The foreground IFillStyle.
      • setForegroundStyle

        boolean setForegroundStyle(IFillStyle fillStyle)
      • borderStyle

        IBorderStyle borderStyle()
        Get the border style of the scene part.
        Returns:
        The border style.
      • setBorderStyle

        boolean setBorderStyle(IBorderStyle borderStyle)
      • setX

        boolean setX(double x)
        Set and get the x and y coordinate of the box's origin.
      • setY

        boolean setY(double y)
      • x

        double x()
      • y

        double y()
      • setHeight

        boolean setHeight(double height)
        Set and get the height and the width of the box.
      • setWidth

        boolean setWidth(double width)
      • height

        double height()
      • width

        double width()
      • setPlacement

        boolean setPlacement(int originDefinition)
        Get and specify the origin's definition. The default is BOTTOM_LEFT.
      • placement

        int placement()
      • setUnits

        boolean setUnits(int unitsDefinition)
        Get and specify the definition of the units used for the size and origin's position. The default is PIXELS.
      • units

        int units()

SCaVis 2.0 © jWork.ORG