|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DnDContainer
A Container for DnDColumns.
| Field Summary |
|---|
| Fields inherited from interface org.zkoss.zk.ui.Component |
|---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
| Method Summary | |
|---|---|
void |
addColumn(DnDVbox newCol)
Adds a column to this container |
void |
addWindow(int col,
DnDObject win)
Add A DnDObject to a column |
DnDColumn |
getCol(int col)
|
void |
rebuildCols()
Re-builds each column and then re-parents each column, this will also fix any column number errors |
void |
setColHeightPer(int percent)
Sets the column height as a percentage |
void |
setColHeightPx(int pixels)
Sets the column height in pixels |
void |
setColWidthPer(int percent)
Sets the width of the columns as a percent |
void |
setColWidthPx(int pixels)
Sets the width of the columns |
void |
setNumCols(int num_cols)
Sets the number of columns in this container. |
| Method Detail |
|---|
void addColumn(DnDVbox newCol)
newCol - the new column to be added
void addWindow(int col,
DnDObject win)
col - The column number of the column to put the object inwin - the Object to be addedDnDColumn.addWindow(DnDObject)DnDColumn getCol(int col)
col -
void rebuildCols()
DnDColumn.reBuildList()void setColHeightPer(int percent)
percent - a number between 1 and 100void setColHeightPx(int pixels)
pixels - void setColWidthPer(int percent)
percent - a value between 0 and 100/number of columnsvoid setColWidthPx(int pixels)
pixels - the width in pixelsvoid setNumCols(int num_cols)
num_cols - A number greater than the current number of columns
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||