edu.gatech.cs2335.lemmings.gui
Class LLeafComponent

java.lang.Object
  extended byedu.gatech.cs2335.lemmings.gui.LComponent
      extended byedu.gatech.cs2335.lemmings.gui.LLeafComponent
Direct Known Subclasses:
GamePlayPanel, LAbstractButton, LColoredComponent, LIcon, MiniMap

public abstract class LLeafComponent
extends LComponent

Class LLeafComponent: This is the opposite of a container. That is, there can be no children for this component.

 Revision History:
     v1.0 (Mar. 13, 2004) - Created the LLeafComponent class
 

Version:
Version 1.0, Mar. 13, 2004
Author:
Vladimir Urazov

Constructor Summary
LLeafComponent()
          Creates a new LLeafComponent instance.
 
Method Summary
 void makeDirty()
          Marks the component dirty.
 void move(java.awt.Point offset)
          Moves the component by the offsets specified by the components of the point.
 boolean renderAll(java.awt.Graphics g)
          Calls paint on self and then all the children in z order.
 
Methods inherited from class edu.gatech.cs2335.lemmings.gui.LComponent
bringToTop, cleanUp, copy, getBounds, getParent, initialize, isActive, isComponentDirty, isShown, paint, setBounds, setDirty, setParent, setPosition, setShown, setSize, setSize, updateDimensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LLeafComponent

public LLeafComponent()
Creates a new LLeafComponent instance.

Method Detail

move

public final void move(java.awt.Point offset)
Moves the component by the offsets specified by the components of the point.

Specified by:
move in class LComponent
Parameters:
offset - a Point value

makeDirty

public final void makeDirty()
Marks the component dirty.

Specified by:
makeDirty in class LComponent

renderAll

public final boolean renderAll(java.awt.Graphics g)
Calls paint on self and then all the children in z order.

Specified by:
renderAll in class LComponent
Parameters:
g - a Graphics value
Returns:
a boolean value