Class LocalLocationControl


  • @PublicAPI
    public class LocalLocationControl
    extends Control
    This control is to change the location say translate a GraphicComponent in its local coordinate system.
    Since:
    Marvin 4.0.2
    • Constructor Detail

      • LocalLocationControl

        public LocalLocationControl​(Monitor monitor)
        Creates a new instance of LocalLocationControl
    • Method Detail

      • getColor

        public byte[] getColor()
        Returns the color of the control.
        Specified by:
        getColor in class Control
      • control

        public void control​(int x,
                            int y)
        Changes the location say translates the component of the control in its local coordinate system.
        Specified by:
        control in class Control
      • control

        public void control​(int z)
        Changes the location say translates the component of the control in its local coordinate system.
        Specified by:
        control in class Control