org.gnu.gtk
public class Frame extends Bin
| Constructor Summary | |
|---|---|
| Frame()
Creates a new frame with no label | |
| Frame(Handle handle)
Construct a frame using a handle to a native resource. | |
| Frame(String label)
Creates a new frame, with the text of label being displayed in the top
left.
| |
| Method Summary | |
|---|---|
| static Frame | getFrame(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
| String | getLabel()
Returns the text of the label which is being displayed at the top of the
frame.
|
| double | getLabelAlign()
Returns a number representing the alignment of the label
|
| Widget | getLabelWidget()
Returns the widget being used as the label of the frame. |
| ShadowType | getShadow()
Returns the shadow type in use
|
| static Type | getType()
Retrieve the runtime type used by the GLib library. |
| void | removeLabel()
Removes the label from the frame |
| void | setLabel(String label)
Changes the label which is displayed in the frame border.
|
| void | setLabelAlign(double align)
Sets the alignment of the label widget along the top edge of the frame. |
| void | setLabelWidget(Widget labelWidget)
Sets the widget to use as the label for the frame. |
| void | setShadow(ShadowType shadowType)
Sets the ShadowType to be displayed for the frame.
|
Parameters: label Text to be displayed in the border of the frame.
Returns: The text of the label for the frame, if any.
Returns: The alignment of the label on the top of the frame.
See Also: Frame
Returns: The widget currently being used as the label.
Returns: shadowType the shadow type being displayed
Parameters: label The text to display
Parameters: align A number representing the alignment of the label.
Parameters: labelWidget The widget to use in the label position of the frame.
Parameters: shadowType the shadow type to be used.