mhframework.gui
Class MHGUIColorCycleControl

java.lang.Object
  extended by mhframework.gui.MHGUIComponent
      extended by mhframework.gui.MHGUICycleControl
          extended by mhframework.gui.MHGUIColorCycleControl
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.util.EventListener, MHRenderable

public class MHGUIColorCycleControl
extends MHGUICycleControl


Field Summary
 
Fields inherited from class mhframework.gui.MHGUICycleControl
btnNext, btnPrevious, lblValue
 
Fields inherited from class mhframework.gui.MHGUIComponent
focusable, height, state, width
 
Constructor Summary
MHGUIColorCycleControl()
           
 
Method Summary
 java.awt.Color getSelectedValue()
           
 void render(java.awt.Graphics2D g)
          Tells an object to draw itself onto the sent Graphics object.
 
Methods inherited from class mhframework.gui.MHGUICycleControl
actionPerformed, advance, decrement, getNextButton, getPreviousButton, getSelectedIndex, increment, keyPressed, keyReleased, keyTyped, main, mouseClicked, mouseMoved, mousePressed, mouseReleased, setHeight, setLabelColor, setLabelFont, setLabelVisible, setSelectedIndex, setSize, setValues
 
Methods inherited from class mhframework.gui.MHGUIComponent
getBounds, getHeight, getWidth, getX, getY, hasFocus, isEnabled, isVisible, mouseDragged, mouseEntered, mouseExited, paint, setEnabled, setFocus, setFocusable, setPosition, setVisible, setWidth, setX, setY, updateBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MHGUIColorCycleControl

public MHGUIColorCycleControl()
Method Detail

render

public void render(java.awt.Graphics2D g)
Description copied from interface: MHRenderable
Tells an object to draw itself onto the sent Graphics object.

Specified by:
render in interface MHRenderable
Overrides:
render in class MHGUICycleControl
Parameters:
g - The Graphics object on which this object is to draw itself.

getSelectedValue

public java.awt.Color getSelectedValue()
Overrides:
getSelectedValue in class MHGUICycleControl