| Modifier and Type | Field and Description |
|---|---|
| private Insets | |
| private boolean | |
| private Point | |
| private Dimension |
| Access | Constructor and Description |
|---|---|
| public | WindowDimensions(int x, int y, int width, int height, boolean isClient)
If isClient is true, the bounds represent the client window area. |
| public | WindowDimensions(Rectangle rec, Insets ins, boolean isClient)
If isClient is true, the bounds represent the client window area. |
| public | WindowDimensions(Point loc, Dimension size, Insets in, boolean isClient)
If isClient is true, the bounds represent the client window area. |
| public | WindowDimensions(Rectangle bounds, boolean isClient)
If isClient is true, the bounds represent the client window area. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Rectangle | |
| public Rectangle | |
| public Dimension | |
| public Insets | |
| public Point | |
| public Rectangle | |
| public Dimension | |
| public int | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| insets | back to summary |
|---|---|
| private Insets insets | |
| isClientSizeSet | back to summary |
|---|---|
| private boolean isClientSizeSet | |
| loc | back to summary |
|---|---|
| private Point loc | |
| size | back to summary |
|---|---|
| private Dimension size | |
| WindowDimensions | back to summary |
|---|---|
| public WindowDimensions(int x, int y, int width, int height, boolean isClient) If isClient is true, the bounds represent the client window area. Otherwise, they represent the entire window area, with the insets included | |
| WindowDimensions | back to summary |
|---|---|
| public WindowDimensions(Rectangle rec, Insets ins, boolean isClient) If isClient is true, the bounds represent the client window area. Otherwise, they represent the entire window area, with the insets included | |
| WindowDimensions | back to summary |
|---|---|
| public WindowDimensions(Point loc, Dimension size, Insets in, boolean isClient) If isClient is true, the bounds represent the client window area. Otherwise, they represent the entire window area, with the insets included | |
| WindowDimensions | back to summary |
|---|---|
| public WindowDimensions(Rectangle bounds, boolean isClient) If isClient is true, the bounds represent the client window area. Otherwise, they represent the entire window area, with the insets included | |
| WindowDimensions | back to summary |
|---|---|
| public WindowDimensions(final WindowDimensions dims) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getBounds | back to summary |
|---|---|
| public Rectangle getBounds() | |
| getClientRect | back to summary |
|---|---|
| public Rectangle getClientRect() | |
| getClientSize | back to summary |
|---|---|
| public Dimension getClientSize() | |
| getInsets | back to summary |
|---|---|
| public Insets getInsets() | |
| getLocation | back to summary |
|---|---|
| public Point getLocation() | |
| getScreenBounds | back to summary |
|---|---|
| public Rectangle getScreenBounds() | |
| getSize | back to summary |
|---|---|
| public Dimension getSize() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isClientSizeSet | back to summary |
|---|---|
| public boolean isClientSizeSet() | |
| setClientSize | back to summary |
|---|---|
| public void setClientSize(Dimension size) | |
| setClientSize | back to summary |
|---|---|
| public void setClientSize(int width, int height) | |
| setInsets | back to summary |
|---|---|
| public void setInsets(Insets in) | |
| setLocation | back to summary |
|---|---|
| public void setLocation(int x, int y) | |
| setSize | back to summary |
|---|---|
| public void setSize(int width, int height) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |