Package org.teamapps.ux.component.panel
Class ElegantPanel
java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.panel.ElegantPanel
- All Implemented Interfaces:
ClientObject,Component
public class ElegantPanel extends AbstractComponent
-
Field Summary
Fields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered -
Constructor Summary
Constructors Constructor Description ElegantPanel()ElegantPanel(AbstractComponent content) -
Method Summary
Modifier and Type Method Description org.teamapps.dto.UiComponentcreateUiComponent()org.teamapps.common.format.ColorgetBodyBackgroundColor()AbstractComponentgetContent()HorizontalElementAlignmentgetHorizontalContentAlignment()intgetMaxContentWidth()SpacinggetPadding()voidhandleUiEvent(org.teamapps.dto.UiEvent event)voidsetBodyBackgroundColor(org.teamapps.common.format.Color bodyBackgroundColor)voidsetContent(AbstractComponent content)voidsetHorizontalContentAlignment(HorizontalElementAlignment horizontalContentAlignment)voidsetMaxContentWidth(int maxContentWidth)voidsetPadding(Spacing padding)Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setAttribute, setCssStyle, setDebuggingId, setParent, setVisible, toggleCssClass, toString, unrenderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.ux.component.ClientObject
handleUiQueryMethods inherited from interface org.teamapps.ux.component.Component
setAttribute, setCssStyle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClass
-
Constructor Details
-
ElegantPanel
public ElegantPanel() -
ElegantPanel
-
-
Method Details
-
createUiComponent
public org.teamapps.dto.UiComponent createUiComponent()- Specified by:
createUiComponentin classAbstractComponent
-
handleUiEvent
public void handleUiEvent(org.teamapps.dto.UiEvent event) -
getBodyBackgroundColor
public org.teamapps.common.format.Color getBodyBackgroundColor() -
setBodyBackgroundColor
public void setBodyBackgroundColor(org.teamapps.common.format.Color bodyBackgroundColor) -
getContent
-
setContent
-
getPadding
-
setPadding
-
getMaxContentWidth
public int getMaxContentWidth() -
setMaxContentWidth
public void setMaxContentWidth(int maxContentWidth) -
getHorizontalContentAlignment
-
setHorizontalContentAlignment
-