Advertisement
Olivki

SWAG YOU FUCKING COCKSUCKING HROKER HOOKER

Mar 30th, 2013
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.83 KB | None | 0 0
  1. package se.proxus.frames;
  2.  
  3. public interface Component {
  4.  
  5.     /**
  6.      * Sets the components text.
  7.      *
  8.      * @param text
  9.      *            The desired text.
  10.      */
  11.     public void setText(String text);
  12.  
  13.     /**
  14.      * Gets the components text.
  15.      *
  16.      * @return The components text.
  17.      */
  18.     public String getText();
  19.  
  20.     /**
  21.      * Sets the components x coordinate.
  22.      *
  23.      * @param x
  24.      *            The desired x coordinate.
  25.      */
  26.     public void setX(int x);
  27.  
  28.     /**
  29.      * Gets the components x coordinate.
  30.      *
  31.      * @return The components x coordinate.
  32.      */
  33.     public int getX();
  34.  
  35.     /**
  36.      * Sets the components y coordinate.
  37.      *
  38.      * @param y
  39.      *            The desired y coordinate.
  40.      */
  41.     public void setY(int y);
  42.  
  43.     /**
  44.      * Gets the components y coordinate.
  45.      *
  46.      * @return The components y coordinate.
  47.      */
  48.     public int getY();
  49.  
  50.     /**
  51.      * Sets the components width.
  52.      *
  53.      * @param width
  54.      *            The desired width.
  55.      */
  56.     public void setWidth(int width);
  57.  
  58.     /**
  59.      * Gets the components width.
  60.      *
  61.      * @return The components width.
  62.      */
  63.     public int getWidth();
  64.  
  65.     /**
  66.      * Sets the components height.
  67.      *
  68.      * @param width
  69.      *            The desired height.
  70.      */
  71.     public void setHeight(int height);
  72.  
  73.     /**
  74.      * Gets the components height.
  75.      *
  76.      * @return The components height.
  77.      */
  78.     public int getHeight();
  79.  
  80.     /**
  81.      * Sets the state of the component.
  82.      *
  83.      * @param state
  84.      *            The state of the component.
  85.      */
  86.     public void setState(boolean state);
  87.  
  88.     /**
  89.      * Gets the components current state.
  90.      *
  91.      * @return The components current state.
  92.      */
  93.     public boolean getState();
  94.  
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement