Public Member Functions | |
__construct () | |
INSERT BRIEF DESCRIPTION HERE. |
BorderPanel is similar to Java's BorderLayout. There are five slots: north, west, south, east and center. North and south are the header and footer slots respectively. West and east are the left and right sidebarse, respectively. And center is the content in the middle. These slots can have any number of components in them. The default slot is 'center'. Right now, BorderPanel is implemented using an HTML table, as CSS and divs do not have the same fluidity for this type of layout (despite what the CSS-zealots say). In the future, I may come up with a suitable CSS implementation for this class.
There are two types of layout for this container. The default one has north and south spanning the entire container and then west, center and east filling the middle from left to right. The second one (TKBorderPanel::LAYOUT_SQUASH_NS) has three columns: west, north/center/south (stacked on top of each other in the central column) and then east. That is, west and east span the entire container from top to bottom. Think of this layout as the default one rotated 90 degrees, but using different names for the slots.
public
, TKComponent
, multi
]: top/header public
, TKComponent
, multi
]: bottom/footer public
, TKComponent
, multi
]: left sidebar public
, TKComponent
, multi
]: right sidebar public
, TKComponent
, multi
]: center column (default slot)
numeric
: one of TKBorderPanel::LAYOUT_DEFAULT or TKBorderPanel::LAYOUT_SQUASH_NS array
: CSS classes for the north cell array
: CSS inline style for the north cell array
: CSS classes for the south cell array
: CSS inline style for the south cell array
: CSS classes for the west cell array
: CSS inline style for the west cell array
: CSS classes for the east cell array
: CSS inline style for the east cell array
: CSS classes for the center cell array
: CSS inline style for the center cell
TKBorderPanel::__construct | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from TKContainer.