org.zaval.lw
Class LwBlankDialog
java.lang.Object
|
+--org.zaval.lw.LwCanvas
|
+--org.zaval.lw.LwPanel
|
+--org.zaval.lw.LwWindow
|
+--org.zaval.lw.LwBlankDialog
- All Implemented Interfaces:
- Cursorable, java.util.EventListener, Layoutable, LayoutContainer, LwActionListener, LwComponent, LwComposite, LwContainer, LwMouseListener, LwMouseMotionListener, LwWinListener, Validationable
- public class LwBlankDialog
- extends LwWindow
- implements LwActionListener
This class is "template" window component that can be used as the dialog window with the different
content. For example you can use LwFontPanel, LwFilePanel or LwColorPanel as a content of the
window.
The panel reads fields titles as the following LwVCL resources:
- bt.ok - this is "ok" button title.
- bt.cancel - this is "cancel" button title.
| Fields inherited from class org.zaval.lw.LwCanvas |
bits, bottom, height, isValidValue, left, parent, psHeight, psWidth, right, skins, temporary, top, width, x, y |
|
Method Summary |
void |
actionPerformed(java.lang.Object src,
java.lang.Object data)
Invoked when an action event occurred. |
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, getWinProducer, isMaximized, isSizeable, maximize, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, repaint, restore, setSizeable, setWinProducer, startDragged, winActivated, winClosed, winDeactivated, winOpened |
| Methods inherited from class org.zaval.lw.LwPanel |
add, add, calcPreferredSize, count, get, getLayoutOffset, getLwComponentAt, getLwLayout, getPreferredSize, indexOf, insert, insert, invalidate, isInvalidatedByChild, laidout, paintOnTop, remove, remove, removeAll, setBackground, setLwLayout, setOpaque, setSize, toFront, updateCashedPs, validate |
| Methods inherited from class org.zaval.lw.LwCanvas |
calcInsets, canHaveFocus, customize, cvp, getBackground, getBottom, getBounds, getHeight, getInsets, getLeft, getLocation, getLwParent, getOrigin, getPSImpl, getRight, getSize, getTop, getViewMan, getVisiblePart, getWidth, getX, getY, hasFocus, isEnabled, isOpaque, isValid, isVisible, paint, recalc, repaint, repaint, requestFocus, setEnabled, setInsets, setLocation, setLwParent, setPSSize, setViewMan, setVisible, update, viewManChanged, vrp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.zaval.lw.LwComponent |
canHaveFocus, getBackground, getLwComponentAt, getLwParent, getOrigin, getViewMan, getVisiblePart, isEnabled, isOpaque, paint, repaint, repaint, setBackground, setEnabled, setInsets, setLwParent, setOpaque, setViewMan, setVisible, update |
| Methods inherited from interface org.zaval.lw.Layoutable |
getBounds, getHeight, getInsets, getLocation, getPreferredSize, getSize, getWidth, getX, getY, isVisible, setLocation, setSize |
LwBlankDialog
public LwBlankDialog(LwComponent content)
- Constructs the window with the specified content component.
- Parameters:
content - the specified content component.
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(java.lang.Object src,
java.lang.Object data)
- Description copied from interface:
LwActionListener
- Invoked when an action event occurred.
- Specified by:
actionPerformed in interface LwActionListener
- Following copied from interface:
org.zaval.lw.event.LwActionListener
- Parameters:
src - the specified source where the event has been originated.data - the event data.
|