Package org.webswing.theme
Class DefaultWindowDecoratorTheme
- java.lang.Object
-
- org.webswing.theme.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 intBUTTON_OFFSETintBUTTON_SPACINGintTITLE_HORIZONTAL_OFFSET
-
Constructor Summary
Constructors Constructor Description DefaultWindowDecoratorTheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanResize(java.awt.Window w)org.webswing.model.appframe.out.AccessibilityMsgOutgetAccessible(java.awt.Window window, org.webswing.common.WindowActionType action, java.awt.Point mousePointer)org.webswing.common.WindowActionTypegetAction(java.awt.Window w, java.awt.Point e)java.awt.InsetsgetInsets()booleanisCloseButtonVisible(java.lang.Object w)booleanisMinMaxButtonVisible(java.lang.Object w)voidpaintWindowDecoration(java.awt.Graphics g, java.lang.Object window, int w, int h)protected java.awt.image.BufferedImagereadImage(java.lang.String key)protected java.util.PropertiesreadProperties()
-
-
-
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:
getInsetsin interfaceorg.webswing.common.WindowDecoratorTheme
-
paintWindowDecoration
public void paintWindowDecoration(java.awt.Graphics g, java.lang.Object window, int w, int h)- Specified by:
paintWindowDecorationin interfaceorg.webswing.common.WindowDecoratorTheme
-
getAction
public org.webswing.common.WindowActionType getAction(java.awt.Window w, java.awt.Point e)- Specified by:
getActionin interfaceorg.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:
getAccessiblein interfaceorg.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)
-
-