Note that although this class is a subclass of Composite,
it does not make sense to set a layout on it.
Important Note
This class is not intended to be subclassed.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv Control | |
| pack-priv int[] | |
| pack-priv int | |
| pack-priv static final int | |
| pack-priv int | |
| pack-priv Rectangle | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv Control | |
| pack-priv Listener | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv Cursor | |
| pack-priv Control | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int[] | |
| pack-priv static int | |
| public Control | Returns: the control that appears on the bottom side of the banner or nullReturns the Control that appears on the bottom side of the banner. |
| public Rectangle | getClientArea()
Returns a rectangle which describes the area of the
receiver which is capable of displaying data (that is,
not covered by the "trimmings").
|
| public Control | Returns: the control that appears on the left side of the banner or nullReturns the Control that appears on the left side of the banner. |
| public Control | Returns: the control that appears on the right side of the banner or nullReturns the Control that appears on the right side of the banner. |
| public Point | Returns: the minimum size of the control that appears on the right of the bannerReturns the minimum size of the control that appears on the right of the banner. |
| public int | Returns: the width of the control that appears on the right of the bannerReturns the width of the control that appears on the right of the banner. |
| public boolean | Returns: true if the CBanner is rendered with a simple shapeReturns |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public void | |
| public void | setLayout(Layout
the receiver's new layout or null layout)Overrides org. |
| public void | |
| public void | |
| public void | setRightMinimumSize(Point
the minimum size of the control on the right size)Set the minimum height of the control that appears on the right side of the banner. |
| public void | setRightWidth(int
the width of the control on the right width)Set the width of the control that appears on the right side of the banner. |
| public void | setSimple(boolean
true if the CBanner should render itself in a simple, traditional styleSets the shape that the CBanner will use to render itself. |
| pack-priv void |
| BEZIER_LEFT | back to summary |
|---|---|
| pack-priv static final int BEZIER_LEFT | |
| BEZIER_RIGHT | back to summary |
|---|---|
| pack-priv static final int BEZIER_RIGHT | |
| BORDER1 | back to summary |
|---|---|
| pack-priv static int BORDER1 | |
| BORDER_BOTTOM | back to summary |
|---|---|
| pack-priv static final int BORDER_BOTTOM | |
| BORDER_STRIPE | back to summary |
|---|---|
| pack-priv static final int BORDER_STRIPE | |
| BORDER_TOP | back to summary |
|---|---|
| pack-priv static final int BORDER_TOP | |
| bottom | back to summary |
|---|---|
| pack-priv Control bottom | |
| curve | back to summary |
|---|---|
| pack-priv int[] curve | |
| curve_indent | back to summary |
|---|---|
| pack-priv int curve_indent | |
| CURVE_TAIL | back to summary |
|---|---|
| pack-priv static final int CURVE_TAIL | |
| curve_width | back to summary |
|---|---|
| pack-priv int curve_width | |
| curveRect | back to summary |
|---|---|
| pack-priv Rectangle curveRect | |
| curveStart | back to summary |
|---|---|
| pack-priv int curveStart | |
| dragging | back to summary |
|---|---|
| pack-priv boolean dragging | |
| left | back to summary |
|---|---|
| pack-priv Control left | |
| listener | back to summary |
|---|---|
| pack-priv Listener listener | |
| MIN_LEFT | back to summary |
|---|---|
| pack-priv static final int MIN_LEFT | |
| OFFSCREEN | back to summary |
|---|---|
| pack-priv static final int OFFSCREEN | |
| resizeCursor | back to summary |
|---|---|
| pack-priv Cursor resizeCursor | |
| right | back to summary |
|---|---|
| pack-priv Control right | |
| rightDragDisplacement | back to summary |
|---|---|
| pack-priv int rightDragDisplacement | |
| rightMinHeight | back to summary |
|---|---|
| pack-priv int rightMinHeight | |
| rightMinWidth | back to summary |
|---|---|
| pack-priv int rightMinWidth | |
| rightWidth | back to summary |
|---|---|
| pack-priv int rightWidth | |
| simple | back to summary |
|---|---|
| pack-priv boolean simple | |
| CBanner | back to summary |
|---|---|
| public CBanner(Composite parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.
The style value is either one of the style constants defined in
class
| |
| bezier | back to summary |
|---|---|
| pack-priv static int[] bezier(int x0, int y0, int x1, int y1, int x2, int y2, int x3, int y3, int count) | |
| checkStyle | back to summary |
|---|---|
| pack-priv static int checkStyle(int style) | |
| getBottom | back to summary |
|---|---|
| public Control getBottom() Returns the Control that appears on the bottom side of the banner.
| |
| getClientArea | back to summary |
|---|---|
| public Rectangle getClientArea() Overrides org. Doc from org. Returns a rectangle which describes the area of the receiver which is capable of displaying data (that is, not covered by the "trimmings"). | |
| getLeft | back to summary |
|---|---|
| public Control getLeft() Returns the Control that appears on the left side of the banner.
| |
| getRight | back to summary |
|---|---|
| public Control getRight() Returns the Control that appears on the right side of the banner.
| |
| getRightMinimumSize | back to summary |
|---|---|
| public Point getRightMinimumSize() Returns the minimum size of the control that appears on the right of the banner.
| |
| getRightWidth | back to summary |
|---|---|
| public int getRightWidth() Returns the width of the control that appears on the right of the banner.
| |
| getSimple | back to summary |
|---|---|
| public boolean getSimple() Returns
| |
| onDispose | back to summary |
|---|---|
| pack-priv void onDispose(Event event) | |
| onMouseDown | back to summary |
|---|---|
| pack-priv void onMouseDown(int x, int y) | |
| onMouseExit | back to summary |
|---|---|
| pack-priv void onMouseExit() | |
| onMouseMove | back to summary |
|---|---|
| pack-priv void onMouseMove(int x, int y) | |
| onMouseUp | back to summary |
|---|---|
| pack-priv void onMouseUp() | |
| onPaint | back to summary |
|---|---|
| pack-priv void onPaint(GC gc) | |
| onResize | back to summary |
|---|---|
| pack-priv void onResize() | |
| setBottom | back to summary |
|---|---|
| public void setBottom(Control control) Set the control that appears on the bottom side of the banner. The bottom control is optional. Setting the bottom control to null will remove it from the banner - however, the creator of the control must dispose of the control.
| |
| setLayout | back to summary |
|---|---|
| public void setLayout(Layout layout) Overrides org. Sets the layout which is associated with the receiver to be the argument which may be null. Note No Layout can be set on this Control because it already manages the size and position of its children.
| |
| setLeft | back to summary |
|---|---|
| public void setLeft(Control control) Set the control that appears on the left side of the banner. The left control is optional. Setting the left control to null will remove it from the banner - however, the creator of the control must dispose of the control.
| |
| setRight | back to summary |
|---|---|
| public void setRight(Control control) Set the control that appears on the right side of the banner. The right control is optional. Setting the right control to null will remove it from the banner - however, the creator of the control must dispose of the control.
| |
| setRightMinimumSize | back to summary |
|---|---|
| public void setRightMinimumSize(Point size) Set the minimum height of the control that appears on the right side of the banner.
| |
| setRightWidth | back to summary |
|---|---|
| public void setRightWidth(int width) Set the width of the control that appears on the right side of the banner.
| |
| setSimple | back to summary |
|---|---|
| public void setSimple(boolean simple) Sets the shape that the CBanner will use to render itself.
| |
| updateCurve | back to summary |
|---|---|
| pack-priv void updateCurve(int height) | |