public class Dimension extends Object
| Constructor and Description |
|---|
Dimension(int rows,
int cols)
Creates a new dimension instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Checks whether two dimension objects have equal values (copied from
java.awt.Dimension).
|
int |
getCols() |
int |
getRows() |
int |
hashCode() |
String |
toString() |
public Dimension(int rows,
int cols)
rows - screen height.cols - screen width.Copyright © 2020 Micro Focus. All rights reserved.