com.nonesole.swing.plaf.basic.window
Class WinFrameUI

java.lang.Object
  extended by com.nonesole.swing.plaf.basic.window.WinFrameUI
All Implemented Interfaces:
WindowUI

public class WinFrameUI
extends java.lang.Object
implements WindowUI

Version:
1.0 - build on 2011-01-18
Author:
JACK LEE

Field Summary
static java.lang.String DEFAULT_INNER_WELCOME_WINDOW_ID
           
 
Constructor Summary
WinFrameUI()
           
 
Method Summary
 void addChildWindow(javax.swing.JComponent c, java.lang.String id, java.lang.String title)
          Add child window
 javax.swing.JComponent getChildWindow(java.lang.String id)
          Get child window
 javax.swing.JComponent getMenu()
          Get menu
 javax.swing.JComponent getStatusItem(java.lang.String id)
          Get Status Item
 javax.swing.JComponent getToolbar(java.lang.String id)
          Get tool bar
 WindowBean getWindowBean()
          Get WindowBean
 void installUI(javax.swing.JFrame f)
          Install UI
 void paint()
          Paint
 boolean removeChildWindow(java.lang.String id)
          Remove child window
 boolean removeComponent(java.lang.String id)
          Remove component
 void repaint()
          Repaint
 boolean setComponentVisible(java.lang.String id, boolean visible)
          Set true if component is visible
 void uninstallUI(javax.swing.JFrame f)
          Uninstall UI
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_INNER_WELCOME_WINDOW_ID

public static final java.lang.String DEFAULT_INNER_WELCOME_WINDOW_ID
See Also:
Constant Field Values
Constructor Detail

WinFrameUI

public WinFrameUI()
Method Detail

installUI

public void installUI(javax.swing.JFrame f)
Description copied from interface: WindowUI
Install UI

Specified by:
installUI in interface WindowUI

uninstallUI

public void uninstallUI(javax.swing.JFrame f)
Description copied from interface: WindowUI
Uninstall UI

Specified by:
uninstallUI in interface WindowUI

getWindowBean

public WindowBean getWindowBean()
Description copied from interface: WindowUI
Get WindowBean

Specified by:
getWindowBean in interface WindowUI
Returns:
WindowBean

getChildWindow

public javax.swing.JComponent getChildWindow(java.lang.String id)
Description copied from interface: WindowUI
Get child window

Specified by:
getChildWindow in interface WindowUI
Returns:
JComponent

addChildWindow

public void addChildWindow(javax.swing.JComponent c,
                           java.lang.String id,
                           java.lang.String title)
                    throws WindowException
Description copied from interface: WindowUI
Add child window

Specified by:
addChildWindow in interface WindowUI
Throws:
WindowException

removeChildWindow

public boolean removeChildWindow(java.lang.String id)
Description copied from interface: WindowUI
Remove child window

Specified by:
removeChildWindow in interface WindowUI
Returns:
boolean

getMenu

public javax.swing.JComponent getMenu()
Description copied from interface: WindowUI
Get menu

Specified by:
getMenu in interface WindowUI

getToolbar

public javax.swing.JComponent getToolbar(java.lang.String id)
Description copied from interface: WindowUI
Get tool bar

Specified by:
getToolbar in interface WindowUI
Returns:
JComponent

removeComponent

public boolean removeComponent(java.lang.String id)
Description copied from interface: WindowUI
Remove component

Specified by:
removeComponent in interface WindowUI

repaint

public void repaint()
Description copied from interface: WindowUI
Repaint

Specified by:
repaint in interface WindowUI

setComponentVisible

public boolean setComponentVisible(java.lang.String id,
                                   boolean visible)
Description copied from interface: WindowUI
Set true if component is visible

Specified by:
setComponentVisible in interface WindowUI

paint

public void paint()
Description copied from interface: WindowUI
Paint

Specified by:
paint in interface WindowUI

getStatusItem

public javax.swing.JComponent getStatusItem(java.lang.String id)
Description copied from interface: WindowUI
Get Status Item

Specified by:
getStatusItem in interface WindowUI
Returns:
JComponent