Class SizeableGitHubButton
java.lang.Object
com.vaadin.flow.component.Component
com.flowingcode.vaadin.addons.githubbuttons.BaseGitHubButton
com.flowingcode.vaadin.addons.githubbuttons.SizeableGitHubButton
- All Implemented Interfaces:
AttachNotifier,DetachNotifier,HasElement,Serializable
- Direct Known Subclasses:
MdoGitHubButton,NtkmeGitHubButton
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSize()voidsetSize(ButtonSize size) Sets size of the button.Methods inherited from class com.flowingcode.vaadin.addons.githubbuttons.BaseGitHubButton
getRepo, getTarget, getUser, isCount, setCount, setRepo, setTarget, setUserMethods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
-
Constructor Details
-
SizeableGitHubButton
public SizeableGitHubButton() -
SizeableGitHubButton
-
-
Method Details
-
setSize
Sets size of the button. Use ButtonSize.LARGER for a bigger size button. Default value 'none'.- Parameters:
size- the size of the button
-
getSize
- Returns:
- ButtonSize return the size
-