Class URLPainter

    • Field Detail

      • url

        java.net.URL url
      • loaded

        private boolean loaded
    • Constructor Detail

      • URLPainter

        public URLPainter()
        Creates a new instance of URLPainter
      • URLPainter

        public URLPainter​(java.net.URL url)
      • URLPainter

        public URLPainter​(java.io.File file)
      • URLPainter

        public URLPainter​(java.lang.String url)
      • URLPainter

        public URLPainter​(java.lang.Class<?> baseClass,
                          java.lang.String resource)
    • Method Detail

      • setURL

        public void setURL​(java.net.URL url)
      • getURL

        public java.net.URL getURL()
      • load

        private void load()
      • doPaint

        protected void doPaint​(java.awt.Graphics2D g,
                               java.lang.Object component,
                               int width,
                               int height)
        Description copied from class: CompoundPainter
        Subclasses must implement this method and perform custom painting operations here.
        Overrides:
        doPaint in class CompoundPainter
        Parameters:
        g - The Graphics2D object in which to paint