Back to PushIt!

Specification

public class PushIt extends java.applet.Applet implements Runnable
{

public static final int HORIZONTAL;
public static final int VERTICAL;
public static final int LEFT;
public static final int CENTER;
public static final int RIGHT;
public static final int TOP;
public static final int MIDDLE;
public static final int BOTTOM;

public void init();
public void start();
public void stop();
public void run();
public void paint();
public void setArrangement(int);
public void setHAlignment(int);
public void setVAlignment(int);
public int  getArrangement();
public int  getHAlignment();
public int  getVAlignment();
public void setBackground(java.awt.Color);
public void setBackground(java.awt.Image);

}

Methods

void init()  Initializes default parameter values and sets the default background and layout
void start()  Resumes fetching buttons
void stop()  Suspends fetching buttons
void run()  Fetches all buttons and adds them to the PushIt Container
void paint()  Paints the background and all buttons
void setArrangement(int) Sets the arrangement type
void setHAlignment(int) Sets the horizontal alignment
void setVAlignment(int) Sets the vertical alignment
int  getArrangment() Returns the arrangement type
int  getHAlignment() Returns the horizontal alignment
int  getVAlignment() Returns the vertical alignment
void setBackground(java.awt.Color)  Sets the background to the specified Color
void setBackground(java.awt.Image)  Sets the background to the specified Image


This page was last updated by Uldarico Muico on June 26, 1999.