|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColumnDefinition
Defines a column in a workbench.
WorkbenchDefinition
Method Summary | |
---|---|
float |
getExpandRatio()
Expand ratios can be defined to customize the way how excess space is divided among columns. |
Class<? extends ColumnFormatter> |
getFormatterClass()
|
String |
getLabel()
|
String |
getName()
|
String |
getPropertyName()
|
Class<? extends ColumnAvailabilityRule> |
getRuleClass()
Returns the AvailabilityRule object for this subject. |
Class<?> |
getType()
|
int |
getWidth()
Sets columns width (in pixels). |
boolean |
isDisplayInChooseDialog()
|
boolean |
isEditable()
Returns whether this column should be editable if workbench uses inplace editing. |
boolean |
isEnabled()
If false - the column will not be displayed. |
boolean |
isSearchable()
Returns whether this column and therefore the underlying JCR property it represents is to be included in searches. |
boolean |
isSortable()
|
Method Detail |
---|
String getName()
String getPropertyName()
String getLabel()
int getWidth()
getExpandRatio()
.
float getExpandRatio()
getWidth()
) or with natural width (no width nor expand
ratio).
boolean isSortable()
Class<? extends ColumnFormatter> getFormatterClass()
Class<?> getType()
boolean isDisplayInChooseDialog()
boolean isSearchable()
true
by default.
boolean isEditable()
WorkbenchDefinition.isEditable()
boolean isEnabled()
Class<? extends ColumnAvailabilityRule> getRuleClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |