public class CmsEditableGroupButtonsState extends com.vaadin.shared.AbstractComponentState
Modifier and Type | Field and Description |
---|---|
protected boolean |
m_hideAddOption
True if hide option should be disabled.
|
protected boolean |
m_isFirst
True if this is the button bar of the first row.
|
protected boolean |
m_isLast
True if this is the button bar of the last row.
|
Constructor and Description |
---|
CmsEditableGroupButtonsState()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAddOptionHidden()
Return is add option hidden?
|
boolean |
isFirst()
Returns the isFirst.
|
boolean |
isLast()
Returns the isLast.
|
void |
setAddOptionHidden(boolean hidden)
Set m_hideAddOption.
|
void |
setFirst(boolean isFirst)
Sets the 'first' status (i.e. if this belongs to the first row.
|
void |
setLast(boolean isLast)
Sets the 'last' status (i.e. if this belongs to the last row.
|
protected boolean m_isFirst
protected boolean m_isLast
protected boolean m_hideAddOption
public CmsEditableGroupButtonsState()
public boolean isAddOptionHidden()
public boolean isFirst()
public boolean isLast()
public void setAddOptionHidden(boolean hidden)
hidden
- true if add should be hiddenpublic void setFirst(boolean isFirst)
isFirst
- true if the button bar belongs to the first rowpublic void setLast(boolean isLast)
isLast
- true if the button bar belongs to the last row