Skip to content

Commit

Permalink
IDE-Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Mar 22, 2024
1 parent 19b9e42 commit 4c5ebf6
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
import lombok.experimental.Delegate;

/**
* Minimal super-set for cui-based components that are no
* {@link UINamingContainer}. Therefore it provides the handling of the
* Minimal superset for cui-based components that are no
* {@link UINamingContainer}. Therefore, it provides the handling of the
* styleClass and style attribute and the implicit attributes provided by
* {@link UIComponentBase}. In addition it acts as a {@link ComponentBridge}
* {@link UIComponentBase}. In addition, it acts as a {@link ComponentBridge}
*
* @author Oliver Wolff
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@

/**
* Minimal super-set for cui-based components that are at least
* {@link HtmlInputText}. Therefore it provides the handling of the styleClass
* {@link HtmlInputText}.
* Therefore, it provides the handling of the styleClass
* and style attribute and the implicit attributes provided by
* {@link HtmlInputText}. In addition it acts as a {@link ComponentBridge}
* {@link HtmlInputText}.
* In addition, it acts as a {@link ComponentBridge}
*
* @author Sven Haag
*/
@SuppressWarnings("squid:MaximumInheritanceDepth") // Artifact of Jsf-structure
public class BaseCuiHtmlInputComponent extends HtmlInputText
implements ComponentBridge, ComponentStyleClassProvider, StyleAttributeProvider {
implements ComponentBridge, ComponentStyleClassProvider, StyleAttributeProvider {

@Delegate
private final ComponentStyleClassProvider styleClassProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@

/**
* Minimal super-set for cui-based components that are at least
* {@link HtmlSelectBooleanCheckbox}. Therefore it provides the handling of the
* {@link HtmlSelectBooleanCheckbox}.
* Therefore, it provides the handling of the
* styleClass and style attribute and the implicit attributes provided by
* {@link HtmlSelectBooleanCheckbox}. In addition it acts as a
* {@link ComponentBridge}
* {@link HtmlSelectBooleanCheckbox}.
* In addition, it acts as a {@link ComponentBridge}
*
* @author Sven Haag
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@

/**
* Minimal super-set for cui-based components that are at least {@link UIInput}.
* Therefore it provides the handling of the styleClass and style attribute and
* the implicit attributes provided by {@link UIInput}. In addition it acts as a
* {@link ComponentBridge}
* Therefore, it provides the handling of the styleClass and style attribute and
* the implicit attributes provided by {@link UIInput}.
* In addition, it acts as a {@link ComponentBridge}
*
* @author Oliver Wolff
*/
public class BaseCuiInputComponent extends UIInput
implements ComponentBridge, ComponentStyleClassProvider, StyleAttributeProvider {
implements ComponentBridge, ComponentStyleClassProvider, StyleAttributeProvider {

@Delegate
private final ComponentStyleClassProvider styleClassProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@

/**
* Minimal super-set for cui-based components that are at least
* {@link UINamingContainer}. Therefore it provides the handling of the
* {@link UINamingContainer}.
* Therefore, it provides the handling of the
* styleClass and style attribute and the implicit attributes provided by
* {@link UINamingContainer}. In addition it acts as a {@link ComponentBridge}
* {@link UINamingContainer}.
* In addition, it acts as a {@link ComponentBridge}
*
* @author Oliver Wolff
*
*/
public class BaseCuiNamingContainer extends UINamingContainer
implements ComponentBridge, ComponentStyleClassProvider, StyleAttributeProvider {
implements ComponentBridge, ComponentStyleClassProvider, StyleAttributeProvider {

@Delegate
private final ComponentStyleClassProvider styleClassProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
* </p>
*
* @author Oliver Wolff
*
*/
public abstract class BaseCuiOutputText extends HtmlOutputText implements ComponentBridge {

Expand Down Expand Up @@ -91,12 +90,13 @@ public void setStyleClass(final String styleClass) {
}

/**
* @return the component specific style-classes. Must no be null.The parent
* component (BaseCuiOutputText) takes care on the configured styleClass
* attribute and implements the actual method
* {@link HtmlOutputText#getStyleClass()} by calling this method and
* appending the styleClass configured by the developer / concrete
* usage.
* @return the component specific style-classes.
* Must not be null.
* The parent component (BaseCuiOutputText) takes care on the configured styleClass
* attribute and implements the actual method
* {@link HtmlOutputText#getStyleClass()} by calling this method and
* appending the styleClass configured by the developer / concrete
* usage.
*/
public abstract StyleClassBuilder getComponentSpecificStyleClasses();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
import lombok.RequiredArgsConstructor;

/**
* Base class for creating custom panel based components. Therefore it extends
* {@link HtmlPanelGroup} and acts as {@link ComponentBridge}
* Base class for creating custom panel-based components.
* Therefore, it extends {@link HtmlPanelGroup} and acts as {@link ComponentBridge}
*
* @author Oliver Wolff
*/
Expand Down Expand Up @@ -71,16 +71,20 @@ public UIComponent facet(final String facetName) {
*
* @author Oliver Wolff
*/
@Getter
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
public enum PanelType {

/** Div block. */
/**
* Div block.
*/
DIV("block"),

/** Span block. */
/**
* Span block.
*/
SPAN("span");

@Getter
private final String identifier;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
*/
public class CuiComponentBase extends UIComponentBase implements ComponentBridge {

/** "de.cuioss.jsf.api.html.family" */
/**
* "de.cuioss.jsf.api.html.family"
*/
public static final String COMPONENT_FAMILY = "de.cuioss.jsf.api.html.family";

@Override
Expand Down

0 comments on commit 4c5ebf6

Please sign in to comment.