public class IComponent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
height |
boolean |
visible |
int |
width |
int |
x |
int |
y |
Constructor and Description |
---|
IComponent(int x,
int y,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int x,
int y) |
int |
getHeight() |
int |
getWidth() |
float |
getX() |
float |
getY() |
boolean |
isVisible() |
void |
setBounds(IComponent c) |
void |
setBounds(int x,
int y,
int width,
int height) |
void |
setLocation(int x,
int y) |
void |
setSize(int width,
int height) |
void |
setVisible(boolean v) |
public int x
public int y
public int width
public int height
public boolean visible
public void setBounds(int x, int y, int width, int height)
public void setBounds(IComponent c)
public void setLocation(int x, int y)
public void setSize(int width, int height)
public float getX()
public float getY()
public int getWidth()
public int getHeight()
public boolean isVisible()
public void setVisible(boolean v)
public boolean contains(int x, int y)