public class ButtonsPanelImpl extends FlowBoxLayoutImpl implements ButtonsPanel, VisibilityChangeNotifier
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperHasContextHelp.ContextHelpIconClickEventLayoutClickNotifier.LayoutClickEventVisibilityChangeNotifier.VisibilityChangeEvent| Modifier and Type | Field and Description |
|---|---|
protected boolean |
alwaysVisible |
static java.lang.String |
BUTTONS_PANEL_STYLENAME |
FLOWLAYOUT_STYLENAMElayoutClickRegistration, ownComponents, shortcutsalignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentNAMEAUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE| Constructor and Description |
|---|
ButtonsPanelImpl() |
| Modifier and Type | Method and Description |
|---|---|
io.jmix.core.common.event.Subscription |
addVisibilityChangeListener(java.util.function.Consumer<VisibilityChangeNotifier.VisibilityChangeEvent> listener) |
java.lang.String |
getStyleName()
Styles implementation is client-type-specific.
|
protected void |
initComponent(JmixFlowLayout component) |
boolean |
isAlwaysVisible()
Returns whether buttons panel is always displayed on the lookup screen.
|
void |
setAlwaysVisible(boolean alwaysVisible)
Sets whether or not buttons panel is always displayed on the lookup screen.
|
void |
setStyleName(java.lang.String name)
Sets one or more style names of the component, replacing any
previous styles.
|
void |
setVisible(boolean visible)
Sets visibility value for the component.
|
createComponent, getMargin, getSpacing, isRequiredIndicatorVisible, setMargin, setRequiredIndicatorVisible, setSpacingadd, add, addLayoutClickListener, addShortcutAction, attached, detached, findChildComponent, getComponent, getComponent, getComponents, getDescription, getOwnComponent, getOwnComponents, getOwnComponentsStream, indexOf, internalRemoveLayoutClickListener, remove, removeAll, removeShortcutAction, setDescription, setFrameaddAttachListener, addDetachListener, addStyleName, assignDebugId, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescriptionAsHtml, setEnabled, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setValidationError, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, getComponent, getComponentNN, indexOfadd, add, remove, remove, removeAlladdStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionfocusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStreamgetFrame, setFramegetMargin, setMargin, setMargin, setMargingetSpacing, setSpacinggetIcon, setIcon, setIconFromSetgetContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledisHtmlSanitizerEnabled, setHtmlSanitizerEnabledaddLayoutClickListeneraddShortcutAction, removeShortcutActionisCaptionAsHtml, setCaptionAsHtmlgetCaption, setCaptiongetDescription, setDescriptionisDescriptionAsHtml, setDescriptionAsHtmlisRequiredIndicatorVisible, setRequiredIndicatorVisiblepublic static final java.lang.String BUTTONS_PANEL_STYLENAME
protected boolean alwaysVisible
protected void initComponent(JmixFlowLayout component)
public void setStyleName(@Nullable
java.lang.String name)
ComponentsetStyleName in interface ComponentsetStyleName in class FlowBoxLayoutImplname - one or more style names separated by space.public java.lang.String getStyleName()
ComponentgetStyleName in interface ComponentgetStyleName in class FlowBoxLayoutImplpublic void setVisible(boolean visible)
ComponentsetVisible in interface ComponentsetVisible in class AbstractComponent<JmixFlowLayout>visible - visible flagpublic io.jmix.core.common.event.Subscription addVisibilityChangeListener(java.util.function.Consumer<VisibilityChangeNotifier.VisibilityChangeEvent> listener)
addVisibilityChangeListener in interface VisibilityChangeNotifierpublic void setAlwaysVisible(boolean alwaysVisible)
ButtonsPanelfalse.setAlwaysVisible in interface ButtonsPanelalwaysVisible - specifies whether buttons panel is always displayed on the lookup screenpublic boolean isAlwaysVisible()
ButtonsPanelfalse.isAlwaysVisible in interface ButtonsPanel