Package com.adobe.acs.commons.wcm
Class ComponentEditType.Type
- java.lang.Object
-
- com.adobe.acs.commons.wcm.ComponentEditType.Type
-
- Enclosing class:
- ComponentEditType
public static class ComponentEditType.Type extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(ComponentEditType.Type type)Checks if two Type's have the same namebooleanequals(Object obj)Checks if the provided name matches the name of the Typebooleanequals(String name)Checks if the provided name matches the name of the TypeStringgetCssClass()Returns the Type's CSS class used to display the IconStringgetName()Returns the name of the Type in all UPPERCASEinthashCode()HashCode implementation based on the underlying "name" data point.
-
-
-
Constructor Detail
-
Type
public Type(String name)
Creates a new Type with a Css Class in the format: lowercase(cq--placeholder) - Parameters:
name- stores this value internally in UPPERCASE
-
-
Method Detail
-
getName
public String getName()
Returns the name of the Type in all UPPERCASE
-
getCssClass
public String getCssClass()
Returns the Type's CSS class used to display the Icon- Returns:
-
equals
public boolean equals(ComponentEditType.Type type)
Checks if two Type's have the same name- Parameters:
type-- Returns:
-
equals
public boolean equals(String name)
Checks if the provided name matches the name of the Type- Parameters:
name-- Returns:
-
equals
public boolean equals(Object obj)
Checks if the provided name matches the name of the Type
-
-