Package com.microfocus.zfe.haapi.ps
Class Dimension
java.lang.Object
com.microfocus.zfe.haapi.ps.Dimension
HAAPI Screen dimension object.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Dimension
public Dimension(int rows, int cols) Creates a new dimension instance.- Parameters:
rows
- screen height.cols
- screen width.
-
-
Method Details
-
getRows
public int getRows()- Returns:
- number of rows.
-
getCols
public int getCols()- Returns:
- number of columns.
-
toString
-
equals
Checks whether two dimension objects have equal values (copied from java.awt.Dimension). -
hashCode
public int hashCode()
-