public interface ColumnDefinition
WorkbenchDefinition
Modifier and Type | Method and Description |
---|---|
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() |
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()
Copyright © 2019 Magnolia International Ltd.. All rights reserved.