Class Window

    • Field Detail

      • LOGGER

        protected static final org.apache.logging.log4j.Logger LOGGER
      • WINDOWS

        protected static final List<Window> WINDOWS
      • relativeScreenPosition

        protected CoordD2 relativeScreenPosition
      • name

        protected final String name
    • Constructor Detail

      • Window

        public Window​(String name,
                      boolean draggable)
    • Method Detail

      • reset

        public void reset()
      • releaseDragging

        public void releaseDragging()
      • drag

        public boolean drag​(CoordI2 coord)
      • move

        public void move​(CoordI2 delta)
      • updateArea

        public void updateArea()
      • resizeCentered

        public void resizeCentered​(CoordI2 dimension)
      • intersects

        public boolean intersects​(CoordI2 coord)
      • ensureBounds

        protected void ensureBounds()
      • updateRelativeScreenPosition

        protected void updateRelativeScreenPosition()
      • applyRelativeScreenPosition

        protected void applyRelativeScreenPosition()
      • getX

        public int getX()
      • setX

        public void setX​(int x)
      • getY

        public int getY()
      • setY

        public void setY​(int y)
      • getWidth

        public int getWidth()
      • setWidth

        public void setWidth​(int width)
      • getHeight

        public int getHeight()
      • setHeight

        public void setHeight​(int height)
      • setPosition

        public void setPosition​(CoordI2 position)
      • setDimension

        public void setDimension​(CoordI2 dimension)
      • getArea

        public Area2 getArea()
      • isDragging

        public boolean isDragging()
      • isDraggable

        public boolean isDraggable()
      • setDraggable

        public void setDraggable​(boolean draggable)
      • setRenderingBoLayer

        public void setRenderingBoLayer​(RenderingBoLayer renderingBoLayer)
      • setColor

        public void setColor​(RgbaColor color)
      • isDrawCloseButton

        public boolean isDrawCloseButton()
      • setDrawCloseButton

        public void setDrawCloseButton​(boolean drawCloseButton)