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
-
Constructor Summary
Constructors Constructor Description ElegantPanel()ElegantPanel(AbstractComponent content) -
Method Summary
Modifier and Type Method Description org.teamapps.dto.UiComponentcreateUiComponent()protected voiddoDestroy()Do not implement or call.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, destroy, getDebuggingId, getId, getParent, getSessionContext, isDestroyed, isEffectivelyVisible, isRendered, isVisible, mapAbstractUiComponentProperties, onDestroyed, queueCommandIfRendered, render, reRenderIfRendered, setCssStyle, setDebuggingId, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, setVisible, toString, unrender
-
Constructor Details
-
ElegantPanel
public ElegantPanel() -
ElegantPanel
-
-
Method Details
-
createUiComponent
public org.teamapps.dto.UiComponent createUiComponent()- Specified by:
createUiComponentin classAbstractComponent
-
doDestroy
protected void doDestroy()Description copied from class:AbstractComponentDo not implement or call. Obsolete. Will get deleted soon.- Overrides:
doDestroyin 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
-