org.zaval.lw
Class LwBlankDialog

java.lang.Object
  |
  +--org.zaval.util.ValidationObject
        |
        +--org.zaval.lw.LwCanvas
              |
              +--org.zaval.lw.LwPanel
                    |
                    +--org.zaval.lw.LwWindow
                          |
                          +--org.zaval.lw.LwBlankDialog
All Implemented Interfaces:
Cursorable, Drawable, java.util.EventListener, Layoutable, LayoutContainer, LwActionListener, LwComponent, LwComposite, LwContainer, LwMouseMotionListener, LwWinListener, Validationable

public class LwBlankDialog
extends LwWindow

This class is "template" window component that can be used as the dialog window with the different content.


Fields inherited from class org.zaval.lw.LwPanel
children
 
Fields inherited from class org.zaval.lw.LwCanvas
bits, height, insets, parent, psHeight, psWidth, skins, width, x, y
 
Fields inherited from class org.zaval.util.ValidationObject
isValidFlag
 
Constructor Summary
LwBlankDialog(LwComponent content)
          Constructs the window with the specified content component.
 
Method Summary
 void actionPerformed(LwActionEvent e)
          Invoked when an action event occured.
 LwComponent getContent()
          Gets the content component.
 boolean isOkPressed()
          Tests if the "Ok" button has been pressed.
 
Methods inherited from class org.zaval.lw.LwWindow
catchInput, endDragged, getCursorType, getDefaultLayout, getRoot, getTitle, getTitlePanel, hideOnClose, isHideOnClose, isSizeable, mouseDragged, mouseMoved, setCaptionColor, setIcon, setSizeable, setTitle, startDragged, winActivated, winClosed, winDeactivated, winOpened
 
Methods inherited from class org.zaval.lw.LwPanel
add, add, calcPreferredSize, count, get, getLayoutOffset, getLwComponentAt, getLwLayout, indexOf, insert, insert, invalidate, paintOnTop, recalc, remove, remove, removeAll, setBackground, setLwLayout, setOpaque, toFront, updateCashedPs
 
Methods inherited from class org.zaval.lw.LwCanvas
canHaveFocus, getBackground, getBounds, getHeight, getInsets, getLocation, getLwParent, getOrigin, getPreferredSize, getSize, getViewMan, getVisiblePart, getWidth, getX, getY, hasFocus, isEnabled, isOpaque, isVisible, paint, repaint, repaint, requestFocus, setEnabled, setInsets, setLocation, setLwParent, setPSSize, setSize, setViewMan, setVisible, toString, update, validate, viewManChanged, vrp
 
Methods inherited from class org.zaval.util.ValidationObject
isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.zaval.lw.LwContainer
add, add, getLwLayout, indexOf, insert, paintOnTop, remove, removeAll, setLwLayout
 
Methods inherited from interface org.zaval.lw.LwComponent
canHaveFocus, getLwComponentAt, getLwParent, getViewMan, getVisiblePart, setBackground, setEnabled, setLwParent, setViewMan, setVisible
 
Methods inherited from interface org.zaval.lw.Drawable
getBackground, getOrigin, isEnabled, isOpaque, paint, repaint, repaint, setOpaque, update
 
Methods inherited from interface org.zaval.util.Validationable
invalidate, isValid, validate
 
Methods inherited from interface org.zaval.lw.Layoutable
getBounds, getHeight, getInsets, getLocation, getPreferredSize, getSize, getWidth, getX, getY, isVisible, setLocation, setSize
 
Methods inherited from interface org.zaval.lw.LayoutContainer
count, get, getLayoutOffset
 

Constructor Detail

LwBlankDialog

public LwBlankDialog(LwComponent content)
Constructs the window with the specified content component.
Parameters:
content - the specified content component.
Method Detail

isOkPressed

public boolean isOkPressed()
Tests if the "Ok" button has been pressed.
Returns:
true if the "Ok" button has been pressed.

getContent

public LwComponent getContent()
Gets the content component.
Returns:
a content component.

actionPerformed

public void actionPerformed(LwActionEvent e)
Description copied from interface: LwActionListener
Invoked when an action event occured. The specified action event is passed to the method.
Overrides:
actionPerformed in class LwWindow
Following copied from interface: org.zaval.lw.event.LwActionListener
Parameters:
e - the specified action event.


Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org