Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.Bin
org.gnu.gtk.Frame
org.gnu.gtk.AspectFrame
public class AspectFrame
extends Frame
Constructor Summary | |
| |
|
Method Summary | |
static AspectFrame |
|
static Type |
|
void |
|
Methods inherited from class org.gnu.gtk.Frame | |
getFrame , getLabel , getLabelAlign , getLabelWidget , getShadow , getType , removeLabel , setLabel , setLabelAlign , setLabelWidget , setShadow |
Methods inherited from class org.gnu.gtk.Container | |
add , addListener , getBooleanChildProperty , getBorderWidth , getChildProperty , getChildren , getEventListenerClass , getEventType , getIntChildProperty , getResizeMode , getType , remove , removeListener , resizeChildren , setBooleanChildProperty , setBorderWidth , setChildProperty , setIntChildProperty , setResizeMode |
public AspectFrame(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct an AspectFrame using a handle to a native resource.
public AspectFrame(String label, double xAlign, double yAlign, double ratio, boolean obeyChild)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a new AspectFrame.
- Parameters:
label
- The text label for the frame.xAlign
- The horizontal alignment for the child within the allocation of the AspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned).yAlign
- The vertical alignment for the child within the allocation of the AspectFrame. This ranges from 0.0 (top aligned) to 1.0 (bottom aligned).ratio
- The desired aspect ration.obeyChild
- If true the ratio is ignored and the aspect ratio is taken from the requisition of the child.
public static AspectFrame getAspectFrame(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Internal static factory method to be used by Java-Gnome only.
public static Type getType()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.
public void setAspect(double xAlign, double yAlign, double ratio, boolean obeyChild)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Set the aspect for an already created AspectFrame.
- Parameters:
xAlign
- The horizontal alignment for the child within the allocation of the AspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned).yAlign
- The vertical alignment for the child within the allocation of the AspectFrame. This ranges from 0.0 (top aligned) to 1.0 (bottom aligned).ratio
- The desired aspect ration.obeyChild
- If true the ratio is ignored and the aspect ratio is taken from the requisition of the child.