public interface SizeAgent extends OperationAgent
The agent of sizing operation. Only Window and Panel support this operation.
Modifier and Type | Method and Description |
---|---|
void |
maximize(boolean maximized)
To maximize a component's size.
|
void |
minimize(boolean minimized)
To minimized component's size.
|
void |
resize(int width,
int height)
To resize a component.
|
getClient, getDelegatee
void maximize(boolean maximized)
maximized
- true indicated maximization.void minimize(boolean minimized)
minimized
- true indicated minimization.void resize(int width, int height)
width
- new width or specify -1 if no change.height
- new height or specify -1 if no change.Copyright © 2019 Potix Corporation. All rights reserved.