Class CheckboxGroupAllComponentsComponentGenerator
java.lang.Object
com.vaadin.copilot.allcomponents.generators.CheckboxGroupAllComponentsComponentGenerator
- All Implemented Interfaces:
AllComponentsComponentGenerator
public class CheckboxGroupAllComponentsComponentGenerator
extends Object
implements AllComponentsComponentGenerator
Generates a representative example for a Vaadin CheckboxGroup component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintmaxShowcaseColumns(Class<?> componentClazz) Gets the maximum number of columns for the component's showcase grid.Gets the fully qualified name of the component class targeted by this generator.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.copilot.allcomponents.AllComponentsComponentGenerator
addCustomStatements, addDefaultWithoutVariant, getVariantExpression, getVariantNameExpressionOrDefaultStringLiteral, hasMethod, hasMethodWithParameterTypeNames, matches, parameterNamesMatch, parametersMatch, populateForEachThemeVariant, shouldGenerateExample, styles
-
Constructor Details
-
CheckboxGroupAllComponentsComponentGenerator
public CheckboxGroupAllComponentsComponentGenerator()
-
-
Method Details
-
targetFullyQualifiedClassName
Description copied from interface:AllComponentsComponentGeneratorGets the fully qualified name of the component class targeted by this generator.- Specified by:
targetFullyQualifiedClassNamein interfaceAllComponentsComponentGenerator- Returns:
- the target class name, or
nullwhen the generator is the default fallback
-
maxShowcaseColumns
Description copied from interface:AllComponentsComponentGeneratorGets the maximum number of columns for the component's showcase grid. Wide components should return1so each example spans the full card width.- Specified by:
maxShowcaseColumnsin interfaceAllComponentsComponentGenerator- Parameters:
componentClazz- the component class being generated- Returns:
- the maximum column count,
3by default
-