home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Netobjs / Install.exe / data1.cab / Components / DynaButtons / PopObject.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-12-16  |  1.6 KB  |  56 lines

  1. import java.net.URL;
  2.  
  3. public class PopObject {
  4.    public int messageType;
  5.    public static final int MOUSE_EXIT = 0;
  6.    public static final int MOUSE_ENTER = 1;
  7.    public static final int MOUSE_DOWN = 2;
  8.    private int buttonNum;
  9.    private URL buttonURL;
  10.    private URL[] URLList;
  11.    private String[] stringList;
  12.    private String target;
  13.    private String[] targetList;
  14.  
  15.    public String getButtonTarget() {
  16.       return this.target;
  17.    }
  18.  
  19.    PopObject(int buttonNum, URL buttonURL, String URLTarget, URL[] URLList, String[] targList, String[] stringList) {
  20.       this.buttonNum = buttonNum;
  21.       this.buttonURL = buttonURL;
  22.       this.target = URLTarget;
  23.       this.URLList = URLList;
  24.       this.stringList = stringList;
  25.       this.targetList = targList;
  26.    }
  27.  
  28.    public URL[] getURLList() {
  29.       return this.URLList;
  30.    }
  31.  
  32.    public String[] getTargetList() {
  33.       return this.targetList;
  34.    }
  35.  
  36.    public String[] getStringList() {
  37.       return this.stringList;
  38.    }
  39.  
  40.    public int getButtonNum() {
  41.       return this.buttonNum;
  42.    }
  43.  
  44.    public void setMessageType(int messageType) {
  45.       this.messageType = messageType;
  46.    }
  47.  
  48.    public int getMessageType() {
  49.       return this.messageType;
  50.    }
  51.  
  52.    public URL getButtonURL() {
  53.       return this.buttonURL;
  54.    }
  55. }
  56.