|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rectangle | |
---|---|
com.sun.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
com.sun.lwuit.animations | All components are animatable by potential and additional animations (unrelated to a specific component) can be installed on the fly, transitions between forms are also handled as part of this package. |
com.sun.lwuit.geom | Contains classes related to geometry locations and calculations such as rectangle and size |
com.sun.lwuit.impl | The implementation package should not be used by developers, it is an internal implementation detail which will break compatibility between major LWUIT releases. |
com.sun.lwuit.painter |
Painter allows us to draw arbitrary elements
of graphics from plain/scaled/tiled images to gradients and pretty
much any form of graphic drawing we can imagine. |
com.sun.lwuit.plaf | Look of the application can be fully customized via this package, it represents a rendering layer that can be plugged in separately in runtime and themed to provide any custom look. |
Uses of Rectangle in com.sun.lwuit |
---|
Methods in com.sun.lwuit that return Rectangle | |
---|---|
protected Rectangle |
Component.getBounds()
Returns the component bounds which is sometimes more convenient than invoking getX/Y/Width/Height. |
Rectangle |
Component.getDirtyRegion()
gets the Component dirty region, this method is for internal use only and SHOULD NOT be invoked by user code. |
Rectangle |
List.getSelectedRect()
|
Rectangle |
Component.getSelectedRect()
Returns the component bounds with absolute screen coordinates, for components that include an internal selection behavior and are not containers (currently only List) this method allows returning the position of the selection itself which is useful for things such as the popup dialog and similar UI's that need to reference the position of the selection externally |
protected Rectangle |
List.getVisibleBounds()
|
protected Rectangle |
Component.getVisibleBounds()
Returns the component bounds for scrolling which might differ from the getBounds for large components e.g. list. |
protected Rectangle |
ComboBox.getVisibleBounds()
|
Methods in com.sun.lwuit with parameters of type Rectangle | |
---|---|
void |
Painter.paint(Graphics g,
Rectangle rect)
Draws inside the given rectangle clipping area. |
void |
List.scrollRectToVisible(Rectangle rect)
Makes sure the selected index is visible if it is not in the current view rect the list will scroll so it fits within |
protected void |
Component.scrollRectToVisible(Rectangle rect,
Component coordinateSpace)
Makes sure the component is visible in the scroll if this container is scrollable |
void |
Component.setDirtyRegion(Rectangle dirty)
sets the Component dirty region, this method is for internal use only and SHOULD NOT be invoked by user code. |
Uses of Rectangle in com.sun.lwuit.animations |
---|
Methods in com.sun.lwuit.animations with parameters of type Rectangle | |
---|---|
void |
Timeline.paint(Graphics g,
Rectangle rect)
|
Uses of Rectangle in com.sun.lwuit.geom |
---|
Methods in com.sun.lwuit.geom that return Rectangle | |
---|---|
Rectangle |
Rectangle.intersection(int rX,
int rY,
int rW,
int rH)
Returns a rectangle that intersects the given rectangle with this rectangle |
Rectangle |
Rectangle.intersection(Rectangle r)
Returns a rectangle that intersects the given rectangle with this rectangle |
Methods in com.sun.lwuit.geom with parameters of type Rectangle | |
---|---|
boolean |
Rectangle.contains(Rectangle rect)
Checks whether or not this Rectangle entirely contains the specified Rectangle. |
Rectangle |
Rectangle.intersection(Rectangle r)
Returns a rectangle that intersects the given rectangle with this rectangle |
boolean |
Rectangle.intersects(Rectangle rect)
Determines whether or not this Rectangle and the specified Rectangle location (x, y) with the specified dimensions (width, height), intersect. |
Constructors in com.sun.lwuit.geom with parameters of type Rectangle | |
---|---|
Rectangle(Rectangle rect)
A copy Constructor |
Uses of Rectangle in com.sun.lwuit.impl |
---|
Methods in com.sun.lwuit.impl that return Rectangle | |
---|---|
Rectangle |
LWUITImplementation.getClipRect(java.lang.Object graphics)
Returns the internal clipping rectangle. |
Methods in com.sun.lwuit.impl with parameters of type Rectangle | |
---|---|
void |
LWUITImplementation.clipRect(java.lang.Object graphics,
Rectangle rect)
Changes the current clipping rectangle to subset the current clipping with the given clipping. |
void |
LWUITImplementation.setClipRect(java.lang.Object graphics,
Rectangle rect)
Installs a new clipping rectangle |
Uses of Rectangle in com.sun.lwuit.painter |
---|
Methods in com.sun.lwuit.painter with parameters of type Rectangle | |
---|---|
void |
PainterChain.paint(Graphics g,
Rectangle rect)
|
void |
BackgroundPainter.paint(Graphics g,
Rectangle rect)
|
Uses of Rectangle in com.sun.lwuit.plaf |
---|
Methods in com.sun.lwuit.plaf with parameters of type Rectangle | |
---|---|
abstract void |
LookAndFeel.drawTabbedPaneContentPane(TabbedPane tp,
Graphics g,
Rectangle rect,
Dimension cellsPreferredSize,
int numOfTabs,
int selectedTabIndex,
Dimension tabsSize,
int cellOffsetX,
int cellOffsetY)
Deprecated. |
void |
DefaultLookAndFeel.drawTabbedPaneContentPane(TabbedPane tp,
Graphics g,
Rectangle rect,
Dimension cellsPreferredSize,
int numOfTabs,
int selectedTabIndex,
Dimension tabsSize,
int cellOffsetX,
int cellOffsetY)
Deprecated. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |