Package com.microfocus.zfe.haapi.ps
Class MetricsChangedEvent
- java.lang.Object
-
- com.microfocus.zfe.haapi.ps.PresentationSpaceEvent
-
- com.microfocus.zfe.haapi.ps.MetricsChangedEvent
-
public class MetricsChangedEvent extends PresentationSpaceEvent
Event fired when the PresentationSpace size changes
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microfocus.zfe.haapi.ps.PresentationSpaceEvent
PresentationSpaceEvent.Origin
-
-
Field Summary
-
Fields inherited from class com.microfocus.zfe.haapi.ps.PresentationSpaceEvent
origin, ps
-
-
Constructor Summary
Constructors Constructor Description MetricsChangedEvent(PresentationSpace ps, PresentationSpaceEvent.Origin origin, int rows, int cols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension
getSize()
Returns the current screen sizeString
toString()
-
Methods inherited from class com.microfocus.zfe.haapi.ps.PresentationSpaceEvent
getEventOrigin, getPresentationSpace
-
-
-
-
Constructor Detail
-
MetricsChangedEvent
public MetricsChangedEvent(PresentationSpace ps, PresentationSpaceEvent.Origin origin, int rows, int cols)
-
-
Method Detail
-
getSize
public Dimension getSize()
Returns the current screen size- Returns:
- a Dimension instance indicating the current screen size.
-
toString
public String toString()
- Overrides:
toString
in classPresentationSpaceEvent
- Returns:
- a human-readable rendering of this object.
-
-