Class TerraPaletteSkin.CloseImage

  • All Implemented Interfaces:
    Visual
    Enclosing class:
    TerraPaletteSkin

    protected class TerraPaletteSkin.CloseImage
    extends Image
    Close button image.
    • Constructor Detail

      • CloseImage

        protected CloseImage()
    • Method Detail

      • getWidth

        public int getWidth()
        Description copied from interface: Visual
        Returns the visual's width.
        Returns:
        Current width of this visual.
      • getHeight

        public int getHeight()
        Description copied from interface: Visual
        Returns the visual's height.
        Returns:
        Current height of this visual.
      • paint

        public void paint​(java.awt.Graphics2D graphics)
        Description copied from interface: Visual
        Paints the visual.
        Parameters:
        graphics - The graphics context in which to paint the visual.