Package org.opencms.ui.favorites
Class CmsFavInfo
- java.lang.Object
-
- com.vaadin.server.AbstractClientConnector
-
- com.vaadin.ui.AbstractComponent
-
- com.vaadin.ui.AbstractComponentContainer
-
- com.vaadin.ui.AbstractLayout
-
- com.vaadin.ui.CustomLayout
-
- org.opencms.ui.favorites.CmsFavInfo
-
- All Implemented Interfaces:
com.vaadin.event.ConnectorEventListener
,com.vaadin.event.ContextClickEvent.ContextClickNotifier
,com.vaadin.event.MethodEventSource
,com.vaadin.event.SerializableEventListener
,com.vaadin.server.ClientConnector
,com.vaadin.server.Sizeable
,com.vaadin.server.VariableOwner
,com.vaadin.shared.Connector
,com.vaadin.ui.Component
,com.vaadin.ui.ComponentContainer
,com.vaadin.ui.HasComponents
,com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier
,com.vaadin.ui.Layout
,com.vaadin.ui.LegacyComponent
,java.io.Serializable
,java.lang.Iterable<com.vaadin.ui.Component>
,java.util.EventListener
,I_CmsEditableGroupRow
public class CmsFavInfo extends com.vaadin.ui.CustomLayout implements I_CmsEditableGroupRow
Resource info box.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
-
-
Constructor Summary
Constructors Constructor Description CmsFavInfo(CmsFavoriteEntry entry)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.ui.Label
getBottomLine()
Gets the bottom label.CmsEditableGroupButtons
getButtonBar()
Returns the button bar widget.com.vaadin.ui.Component
getButtonWidget()
Gets the button label.com.vaadin.ui.Component
getComponent()
Returns the input field.CmsFavoriteEntry
getEntry()
Gets the favorite entry.com.vaadin.ui.Label
getProjectLabel()
Gets the project label.CmsResource
getResource()
Gets the resource.CmsResourceIcon
getResourceIcon()
Gets the resource icon.com.vaadin.ui.Label
getSiteLabel()
Gets the site label.com.vaadin.ui.Label
getTopLine()
Gets the top label.void
setButtons(CmsEditableGroupButtons buttons)
Sets the buttons.void
setButtonWidget(com.vaadin.ui.Component button)
Replaces the button component.void
setEntry(CmsFavoriteEntry entry)
Sets the bookmark entry.void
setResource(CmsResource resource)
Sets the resource-
Methods inherited from class com.vaadin.ui.CustomLayout
addComponent, addComponent, changeVariables, getComponent, getComponentCount, getState, getState, getTemplateContents, getTemplateName, initTemplateContentsFromInputStream, iterator, paintContent, readDesign, removeComponent, removeComponent, replaceComponent, setTemplateContents, setTemplateName, writeDesign
-
Methods inherited from class com.vaadin.ui.AbstractComponentContainer
addComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidth
-
Methods inherited from class com.vaadin.ui.AbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
-
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
-
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
-
Methods inherited from interface com.vaadin.ui.ComponentContainer
addComponents, getComponentIterator, moveComponentsFrom, removeAllComponents
-
Methods inherited from interface com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier
addComponentAttachListener, addComponentDetachListener, removeComponentAttachListener, removeComponentDetachListener
-
-
-
-
Constructor Detail
-
CmsFavInfo
public CmsFavInfo(CmsFavoriteEntry entry)
Constructor.- Parameters:
entry
- the favorite entry whose data to display
-
-
Method Detail
-
getBottomLine
public com.vaadin.ui.Label getBottomLine()
Gets the bottom label.- Returns:
- the bottom label
-
getButtonBar
public CmsEditableGroupButtons getButtonBar()
Description copied from interface:I_CmsEditableGroupRow
Returns the button bar widget.- Specified by:
getButtonBar
in interfaceI_CmsEditableGroupRow
- Returns:
- the button bar widget
- See Also:
I_CmsEditableGroupRow.getButtonBar()
-
getButtonWidget
public com.vaadin.ui.Component getButtonWidget()
Gets the button label.- Returns:
- the button label
-
getComponent
public com.vaadin.ui.Component getComponent()
Description copied from interface:I_CmsEditableGroupRow
Returns the input field.- Specified by:
getComponent
in interfaceI_CmsEditableGroupRow
- Returns:
- the input field
- See Also:
I_CmsEditableGroupRow.getComponent()
-
getEntry
public CmsFavoriteEntry getEntry()
Gets the favorite entry.- Returns:
- the favorite entry
-
getProjectLabel
public com.vaadin.ui.Label getProjectLabel()
Gets the project label.- Returns:
- the project label // TODO Auto-generated method stub return null;
-
getResource
public CmsResource getResource()
Gets the resource.- Returns:
- the resource
-
getResourceIcon
public CmsResourceIcon getResourceIcon()
Gets the resource icon.- Returns:
- the resource icon
-
getSiteLabel
public com.vaadin.ui.Label getSiteLabel()
Gets the site label.- Returns:
- the site label
-
getTopLine
public com.vaadin.ui.Label getTopLine()
Gets the top label.- Returns:
- the top label
-
setButtons
public void setButtons(CmsEditableGroupButtons buttons)
Sets the buttons.- Parameters:
buttons
- the buttons
-
setButtonWidget
public void setButtonWidget(com.vaadin.ui.Component button)
Replaces the button component.- Parameters:
button
- the new button component
-
setEntry
public void setEntry(CmsFavoriteEntry entry)
Sets the bookmark entry.- Parameters:
entry
- the bookmark entry
-
setResource
public void setResource(CmsResource resource)
Sets the resource- Parameters:
resource
- the resource to set
-
-