- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 31 of file GridLayout.java.
◆ GridLayout() [1/3]
org.turro.zkoss.layout.GridLayout.GridLayout |
( |
| ) |
|
◆ GridLayout() [2/3]
org.turro.zkoss.layout.GridLayout.GridLayout |
( |
int |
columns | ) |
|
Definition at line 42 of file GridLayout.java.
44 setSclass(
"grid-layout");
void setColumns(int columns)
◆ GridLayout() [3/3]
org.turro.zkoss.layout.GridLayout.GridLayout |
( |
String |
hflexs | ) |
|
◆ addBoldValue()
GridLayout org.turro.zkoss.layout.GridLayout.addBoldValue |
( |
String |
value | ) |
|
◆ addCaption()
GridLayout org.turro.zkoss.layout.GridLayout.addCaption |
( |
String |
label | ) |
|
◆ addComponent()
GridLayout org.turro.zkoss.layout.GridLayout.addComponent |
( |
HtmlBasedComponent |
comp | ) |
|
Definition at line 147 of file GridLayout.java.
149 if(comp instanceof AfterCompose) {
150 ((AfterCompose) comp).afterCompose();
◆ addGroup()
GridLayout org.turro.zkoss.layout.GridLayout.addGroup |
( |
String |
title, |
|
|
boolean |
open |
|
) |
| |
Definition at line 113 of file GridLayout.java.
114 GroupExtended group =
new GroupExtended(title);
116 getRows(
true).appendChild(group);
Rows getRows(boolean create)
◆ addRow()
GridLayout org.turro.zkoss.layout.GridLayout.addRow |
( |
| ) |
|
◆ addRowSpannedComponent()
GridLayout org.turro.zkoss.layout.GridLayout.addRowSpannedComponent |
( |
HtmlBasedComponent |
comp, |
|
|
int |
rows |
|
) |
| |
Definition at line 166 of file GridLayout.java.
167 Cell cell =
new Cell();
168 cell.setRowspan(rows);
169 cell.appendChild(comp);
171 if(comp instanceof AfterCompose) {
172 ((AfterCompose) comp).afterCompose();
◆ addSpace()
GridLayout org.turro.zkoss.layout.GridLayout.addSpace |
( |
| ) |
|
◆ addSpannedComponent()
GridLayout org.turro.zkoss.layout.GridLayout.addSpannedComponent |
( |
HtmlBasedComponent |
comp, |
|
|
int |
cols |
|
) |
| |
Definition at line 155 of file GridLayout.java.
156 Cell cell =
new Cell();
157 cell.setColspan(cols);
158 cell.appendChild(comp);
160 if(comp instanceof AfterCompose) {
161 ((AfterCompose) comp).afterCompose();
◆ addValue()
GridLayout org.turro.zkoss.layout.GridLayout.addValue |
( |
String |
value | ) |
|
◆ clearRows()
void org.turro.zkoss.layout.GridLayout.clearRows |
( |
| ) |
|
◆ getCurrentRow()
Row org.turro.zkoss.layout.GridLayout.getCurrentRow |
( |
| ) |
|
◆ getData()
Object org.turro.zkoss.layout.GridLayout.getData |
( |
| ) |
|
◆ getRows()
Rows org.turro.zkoss.layout.GridLayout.getRows |
( |
boolean |
create | ) |
|
Definition at line 190 of file GridLayout.java.
191 Rows rows = super.getRows();
192 if(rows ==
null && create) {
◆ insertBeforeRow()
GridLayout org.turro.zkoss.layout.GridLayout.insertBeforeRow |
( |
Row |
row | ) |
|
◆ setColCaptions() [1/2]
void org.turro.zkoss.layout.GridLayout.setColCaptions |
( |
String |
captions | ) |
|
◆ setColCaptions() [2/2]
void org.turro.zkoss.layout.GridLayout.setColCaptions |
( |
String[] |
captions | ) |
|
Definition at line 98 of file GridLayout.java.
99 setSclass(
"grid-layout-head");
102 for(Component col : getColumns().getChildren()) {
103 ((Column)col).setLabel(captions[index++]);
105 getColumns().setStyle(
null);
◆ setColumns() [1/2]
void org.turro.zkoss.layout.GridLayout.setColumns |
( |
int |
columns | ) |
|
Definition at line 54 of file GridLayout.java.
56 Columns cols = getColumns();
61 cols.getChildren().clear();
63 cols.setVisible(
false);
64 for(
int i = 0; i < columns; i++) {
65 Column col =
new Column();
67 cols.appendChild(col);
◆ setColumns() [2/2]
void org.turro.zkoss.layout.GridLayout.setColumns |
( |
String |
hflexs | ) |
|
Definition at line 71 of file GridLayout.java.
73 String hfs[] = hflexs.split(
",");
74 Columns cols = getColumns();
79 cols.getChildren().clear();
81 cols.setStyle(
"height:0px");
82 for(
int i = 0; i < hfs.length; i++) {
83 Column col =
new Column();
84 if(hfs[i].startsWith(
"right-")) {
85 col.setAlign(
"right");
86 setWidthFlex(col, hfs[i].substring(6));
88 setWidthFlex(col, hfs[i]);
90 cols.appendChild(col);
◆ setData()
void org.turro.zkoss.layout.GridLayout.setData |
( |
Object |
data | ) |
|
◆ currentRow
Row org.turro.zkoss.layout.GridLayout.currentRow |
|
protected |
The documentation for this class was generated from the following file: