org.zaval.lw
Class LwMenuButton

java.lang.Object
  |
  +--org.zaval.util.ValidationObject
        |
        +--org.zaval.lw.LwCanvas
              |
              +--org.zaval.lw.LwStButton
                    |
                    +--org.zaval.lw.LwMenuButton
All Implemented Interfaces:
Drawable, java.util.EventListener, Layoutable, LwComponent, LwMouseListener, LwMouseMotionListener, java.lang.Runnable, Validationable

public class LwMenuButton
extends LwStButton


Fields inherited from class org.zaval.lw.LwStButton
ST_DISABLED, ST_ONSURFACE, ST_OUTSURFACE, ST_PRESSED
 
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
LwMenuButton(java.lang.String s)
           
 
Method Summary
protected  LwView getView()
           
 void mousePressed(LwMouseEvent e)
          Invoked when the mouse button has been pressed on a light weight component.
protected  void setView(LwView v)
           
protected  void stateChanged(int state, int prev)
          Invoked when the state of the component has been changed.
 
Methods inherited from class org.zaval.lw.LwStButton
addActionListener, endDragged, fireByPress, getState, isFireByPress, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, perform, removeActionListener, run, setEnabled, setState, startDragged, sync, viewManChanged
 
Methods inherited from class org.zaval.lw.LwCanvas
calcPreferredSize, canHaveFocus, getBackground, getBounds, getHeight, getInsets, getLocation, getLwComponentAt, getLwParent, getOrigin, getPreferredSize, getSize, getViewMan, getVisiblePart, getWidth, getX, getY, hasFocus, invalidate, isEnabled, isOpaque, isVisible, paint, recalc, repaint, repaint, requestFocus, setBackground, setInsets, setLocation, setLwParent, setOpaque, setPSSize, setSize, setViewMan, setVisible, toString, update, validate, 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.util.Validationable
isValid
 

Constructor Detail

LwMenuButton

public LwMenuButton(java.lang.String s)
Method Detail

mousePressed

public void mousePressed(LwMouseEvent e)
Description copied from interface: LwMouseListener
Invoked when the mouse button has been pressed on a light weight component.
Overrides:
mousePressed in class LwStButton
Following copied from interface: org.zaval.lw.event.LwMouseListener
Parameters:
e - the specified mouse event.

getView

protected LwView getView()

setView

protected void setView(LwView v)

stateChanged

protected void stateChanged(int state,
                            int prev)
Description copied from class: LwStButton
Invoked when the state of the component has been changed. Use the method to listen state changing.
Overrides:
stateChanged in class LwStButton
Following copied from class: org.zaval.lw.LwStButton
Parameters:
state - the new state of the component.
prevState - the previous state of the component.


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