Class DefaultWindowDecoratorTheme

  • All Implemented Interfaces:
    org.webswing.common.WindowDecoratorTheme

    public class DefaultWindowDecoratorTheme
    extends java.lang.Object
    implements org.webswing.common.WindowDecoratorTheme
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int BUTTON_OFFSET  
      int BUTTON_SPACING  
      int TITLE_HORIZONTAL_OFFSET  
      • Fields inherited from interface org.webswing.common.WindowDecoratorTheme

        DECORATION_THEME_IMPL_DEFAULT, DECORATION_THEME_IMPL_PROP
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canResize​(java.awt.Window w)  
      org.webswing.model.appframe.out.AccessibilityMsgOut getAccessible​(java.awt.Window window, org.webswing.common.WindowActionType action, java.awt.Point mousePointer)  
      org.webswing.common.WindowActionType getAction​(java.awt.Window w, java.awt.Point e)  
      java.awt.Insets getInsets()  
      boolean isCloseButtonVisible​(java.lang.Object w)  
      boolean isMinMaxButtonVisible​(java.lang.Object w)  
      void paintWindowDecoration​(java.awt.Graphics g, java.lang.Object window, int w, int h)  
      protected java.awt.image.BufferedImage readImage​(java.lang.String key)  
      protected java.util.Properties readProperties()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BUTTON_OFFSET

        public int BUTTON_OFFSET
      • BUTTON_SPACING

        public int BUTTON_SPACING
      • TITLE_HORIZONTAL_OFFSET

        public int TITLE_HORIZONTAL_OFFSET
    • Constructor Detail

      • DefaultWindowDecoratorTheme

        public DefaultWindowDecoratorTheme()
    • Method Detail

      • readProperties

        protected java.util.Properties readProperties()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • readImage

        protected java.awt.image.BufferedImage readImage​(java.lang.String key)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getInsets

        public java.awt.Insets getInsets()
        Specified by:
        getInsets in interface org.webswing.common.WindowDecoratorTheme
      • paintWindowDecoration

        public void paintWindowDecoration​(java.awt.Graphics g,
                                          java.lang.Object window,
                                          int w,
                                          int h)
        Specified by:
        paintWindowDecoration in interface org.webswing.common.WindowDecoratorTheme
      • getAction

        public org.webswing.common.WindowActionType getAction​(java.awt.Window w,
                                                              java.awt.Point e)
        Specified by:
        getAction in interface org.webswing.common.WindowDecoratorTheme
      • getAccessible

        public org.webswing.model.appframe.out.AccessibilityMsgOut getAccessible​(java.awt.Window window,
                                                                                 org.webswing.common.WindowActionType action,
                                                                                 java.awt.Point mousePointer)
        Specified by:
        getAccessible in interface org.webswing.common.WindowDecoratorTheme
      • isMinMaxButtonVisible

        public boolean isMinMaxButtonVisible​(java.lang.Object w)
      • isCloseButtonVisible

        public boolean isCloseButtonVisible​(java.lang.Object w)
      • canResize

        public boolean canResize​(java.awt.Window w)