Package | Description |
---|---|
com.teamdev.jxbrowser.browser |
This package provides the classes that allow you to work with browsers.
|
com.teamdev.jxbrowser.ui |
The utility classes for the user interface (UI) related functionality.
|
Modifier and Type | Method and Description |
---|---|
Size |
Browser.size()
Returns the size of the current browser instance in the logical pixels.
|
Modifier and Type | Method and Description |
---|---|
void |
Browser.resize(Size size)
Updates size of the current browser instance with the given one.
|
Modifier and Type | Method and Description |
---|---|
static Size |
Size.empty()
Returns an empty
Size with zero width and height. |
static Size |
Size.of(int width,
int height)
Returns the
Size instance for the given width and height values. |
default Size |
Bitmap.size()
Returns
Size of this bitmap instance. |
default Size |
Rect.size()
Returns the rectangle dimensions.
|
Modifier and Type | Method and Description |
---|---|
static Rect |
Rect.of(Point origin,
Size size)
Returns the
Rect instance for the given origin and size values. |
static Rect |
Rect.of(Size size)
Returns the
Rect instance for the empty origin and the given size value. |