public class ViewportChangeEvent extends AMXEvent
| Constructor and Description |
|---|
ViewportChangeEvent()
Creates a new ViewportChangeEvent
|
ViewportChangeEvent(Object xMin,
Object xMax,
Object startGroup,
Object endGroup,
Object yMin,
Object yMax)
Creates a new ViewportChangeEvent with info on currently visible viewport.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getEndGroup()
Returns the last visible group
|
Object |
getStartGroup()
Returns the first visible group
|
Object |
getXMax()
Returns the maximum x coordinate
|
Object |
getXMin()
Returns the minimum x coordinate
|
Object |
getYMax()
Returns the maximum y coordinate
|
Object |
getYMin()
Returns the minimum y coordinate
|
void |
setEndGroup(Object endGroup)
Sets the last visible group
|
void |
setStartGroup(Object startGroup)
Sets the first visible group
|
void |
setXMax(Object xMax)
Sets the maximum x coordinate
|
void |
setXMin(Object xMin)
Sets the minimum x coordinate
|
void |
setYMax(Object yMax)
Sets the maximum y coordinate
|
void |
setYMin(Object yMin)
Sets the minimum y coordinate
|
public ViewportChangeEvent()
public ViewportChangeEvent(Object xMin,
Object xMax,
Object startGroup,
Object endGroup,
Object yMin,
Object yMax)
xMin - minimum x coordinatexMax - maximum x coordinateyMin - minimum y coordinateyMax - maximum y coordinatestartGroup - first visible groupendGroup - last visible grouppublic void setXMin(Object xMin)
xMin - minimum x coordinatepublic Object getXMin()
public void setXMax(Object xMax)
xMax - maximum x coordinatepublic Object getXMax()
public void setYMin(Object yMin)
yMin - minimum y coordinatepublic Object getYMin()
public void setYMax(Object yMax)
yMax - maximum y coordinatepublic Object getYMax()
public void setStartGroup(Object startGroup)
startGroup - the first visible grouppublic Object getStartGroup()
public void setEndGroup(Object endGroup)
endGroup - the last visible grouppublic Object getEndGroup()