edu.ucsb.nceas.morpho.framework
Class HelpCommand

java.lang.Object
  |
  +--edu.ucsb.nceas.morpho.framework.HelpCommand

public class HelpCommand
extends java.lang.Object
implements Command

Class to handle help command


Constructor Summary
HelpCommand()
          Constructor of HelpCommand
 
Method Summary
static int caculateCenterX(double parentX, int parentWidth, int childWidth)
           
static int caculateCenterY(double parentY, int parentHeight, int childHeight)
           
 void execute(java.awt.event.ActionEvent event)
          execute help command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpCommand

public HelpCommand()
Constructor of HelpCommand
Method Detail

execute

public void execute(java.awt.event.ActionEvent event)
execute help command
Specified by:
execute in interface Command

caculateCenterX

public static int caculateCenterX(double parentX,
                                  int parentWidth,
                                  int childWidth)

caculateCenterY

public static int caculateCenterY(double parentY,
                                  int parentHeight,
                                  int childHeight)


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.