Display, Monitor snippets, Sample code and further information
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv long | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the object is the same as this object and false otherwisethe object to compare with this object object)Overrides java. |
| public Rectangle | Returns: the receiver's bounding rectangleReturns a rectangle describing the receiver's size and location relative to its device. |
| public Rectangle | Returns: the client areaReturns a rectangle which describes the area of the receiver which is capable of displaying data. |
| public int | |
| public int | Returns: the receiver's hashOverrides java. |
| pack-priv void | |
| pack-priv void |
| clientHeight | back to summary |
|---|---|
| pack-priv int clientHeight | |
| clientWidth | back to summary |
|---|---|
| pack-priv int clientWidth | |
| clientX | back to summary |
|---|---|
| pack-priv int clientX | |
| clientY | back to summary |
|---|---|
| pack-priv int clientY | |
| handle | back to summary |
|---|---|
| pack-priv long handle | |
| height | back to summary |
|---|---|
| pack-priv int height | |
| width | back to summary |
|---|---|
| pack-priv int width | |
| x | back to summary |
|---|---|
| pack-priv int x | |
| y | back to summary |
|---|---|
| pack-priv int y | |
| zoom | back to summary |
|---|---|
| pack-priv int zoom | |
| Monitor | back to summary |
|---|---|
| pack-priv Monitor() Prevents uninitialized instances from being created outside the package. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object object) Overrides java. Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
| |
| getBounds | back to summary |
|---|---|
| public Rectangle getBounds() Returns a rectangle describing the receiver's size and location relative to its device. Note that on multi-monitor systems the origin can be negative.
| |
| getClientArea | back to summary |
|---|---|
| public Rectangle getClientArea() Returns a rectangle which describes the area of the receiver which is capable of displaying data.
| |
| getZoom | back to summary |
|---|---|
| public int getZoom() Returns the zoom value for the monitor
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns an integer hash code for the receiver. Any two
objects that return
| |
| setBounds | back to summary |
|---|---|
| pack-priv void setBounds(Rectangle rect) | |
| setClientArea | back to summary |
|---|---|
| pack-priv void setClientArea(Rectangle rect) | |