com.notuvy.gui
Class GenericWindow
java.lang.Object
com.notuvy.gui.GenericWindow
- All Implemented Interfaces:
- PersistentLocatable
- Direct Known Subclasses:
- GenericDialog, GenericFrame
public abstract class GenericWindow
- extends Object
- implements PersistentLocatable
An abstract framework for creating a GUI window (either frame or dialog) for an application.
User: murali
Date: Nov 15, 2010
Time: 12:36:40 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fWindowLocation
protected final WindowLocation fWindowLocation
GenericWindow
public GenericWindow(WindowLocation pWindowLocation)
isInitialized
protected boolean isInitialized()
getWindowLocation
protected WindowLocation getWindowLocation()
setInitialized
protected void setInitialized(boolean pInitialized)
launch
public void launch()
attemptClose
public void attemptClose()
allowWindowClose
protected boolean allowWindowClose()
- Subclasses can override this method to intercept the window closing event and
check whether the window close should actually be allowed.
- Returns:
- false if the window close should be rejected, true to let it close.
handleClose
public abstract void handleClose()
initializeUIComponents
protected abstract void initializeUIComponents()
buildUI
protected abstract void buildUI(Container pContainer)
getContentPane
protected abstract Container getContentPane()
Copyright © 2013. All Rights Reserved.