attachlayout
Interface AttachConstants

All Known Implementing Classes:
AttachLayout

public interface AttachConstants

Defines and holds constants used with an AttachLayout.

Since:
JDK 1.1
Version:
2.3

Field Summary
static int BOTTOM
          Indicates the bottom side of a component or container.
static int COMPONENT_PREFERRED
          Indicates to set the preferred width or height to the component's own preferred width or height.
static boolean ELASTIC
          Indicates connection type elastic.
static boolean FIXED
          Indicates connection type fixed.
static int LEFT
          Indicates the left side of a component or container.
static int RIGHT
          Indicates the right side of a component or container.
static int TOP
          Indicates the top side of a component or container.
 

Field Detail

TOP

public static final int TOP
Indicates the top side of a component or container.

LEFT

public static final int LEFT
Indicates the left side of a component or container.

BOTTOM

public static final int BOTTOM
Indicates the bottom side of a component or container.

RIGHT

public static final int RIGHT
Indicates the right side of a component or container.

FIXED

public static final boolean FIXED
Indicates connection type fixed. A fixed connection will force the attached component to resize to meet the attachment's constraints.

ELASTIC

public static final boolean ELASTIC
Indicates connection type elastic. An elastic attachment will only force a component to become smaller if necessary, it will never make a component bigger than its preferred size.

COMPONENT_PREFERRED

public static final int COMPONENT_PREFERRED
Indicates to set the preferred width or height to the component's own preferred width or height.

Copyright © 2003-2008, Paul Neyens SourceForge.net Logo
All Rights Reserved.