|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.qswing.layouts.BorderLayout
Border Layout.
Field Summary | |
static java.lang.String |
CENTER
Center layout constraints (the value is "Center"). |
static java.lang.String |
EAST
East layout constraints (the value is "East"). |
static java.lang.String |
NORTH
North layout constraints (the value is "North"). |
static java.lang.String |
SOUTH
South layout constraints (the value is "South"). |
static java.lang.String |
WEST
West layout constraints (the value is "West"). |
Constructor Summary | |
BorderLayout()
Constructs new BorderLayout object. |
|
BorderLayout(int hgap,
int vgap)
Constructs new BorderLayout object. |
Method Summary | |
void |
addLayoutComponent(JQComponent component,
java.lang.Object constraints)
Adds the specified component to the layout. |
int |
getHgap()
Returns the horizontal gap between components. |
int |
getVgap()
Returns the vertical gap between components. |
void |
invalidateLayout(JQContainer target)
Invalidates the layout. |
void |
layoutContainer(JQContainer target)
Lays out the specified container. |
Dimension |
maximumLayoutSize(JQContainer target)
Calculates the maximum size dimensions for the specified container. |
Dimension |
minimumLayoutSize(JQContainer target)
Calculates the minimum size dimensions for the specified containers. |
Dimension |
preferredLayoutSize(JQContainer target)
Calculates the preferred size dimensions for the specified container. |
void |
removeLayoutComponent(JQComponent component)
Removes the specified component from the layout. |
void |
setHgap(int hgap)
Sets the horizontal gap between components. |
void |
setVgap(int vgap)
Sets the vertical gap between components. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String NORTH
public static final java.lang.String SOUTH
public static final java.lang.String EAST
public static final java.lang.String WEST
public static final java.lang.String CENTER
Constructor Detail |
public BorderLayout()
public BorderLayout(int hgap, int vgap)
hgap
- the horizontal gap.vgap
- the vertical gap.Method Detail |
public int getHgap()
public void setHgap(int hgap)
hgap
- the horizontal gap between componentspublic int getVgap()
public void setVgap(int vgap)
vgap
- the vertical gap between componentspublic void addLayoutComponent(JQComponent component, java.lang.Object constraints)
addLayoutComponent
in interface LayoutManager
component
- the component to be addedconstraints
- the layout constraintspublic void removeLayoutComponent(JQComponent component)
removeLayoutComponent
in interface LayoutManager
component
- the component to be removedpublic Dimension preferredLayoutSize(JQContainer target)
preferredLayoutSize
in interface LayoutManager
target
- the container to be laid out
public Dimension maximumLayoutSize(JQContainer target)
maximumLayoutSize
in interface LayoutManager
target
- the component to be laid out
public Dimension minimumLayoutSize(JQContainer target)
minimumLayoutSize
in interface LayoutManager
target
- the component to be laid out
public void layoutContainer(JQContainer target)
layoutContainer
in interface LayoutManager
target
- the container to be laid outpublic void invalidateLayout(JQContainer target)
invalidateLayout
in interface LayoutManager
target
- the container to be laid outpublic java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |