com.liferay.faces.alloy.component.tab
Class TabBase

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIColumn
              extended by com.liferay.faces.alloy.component.tab.TabBase
All Implemented Interfaces:
com.liferay.faces.util.component.Styleable, EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder
Direct Known Subclasses:
Tab

@Generated(value="com.liferay.alloy.tools.builder.FacesBuilder")
public abstract class TabBase
extends javax.faces.component.UIColumn
implements com.liferay.faces.util.component.Styleable

Author:
Bruno Basto, Kyle Stiemann

Nested Class Summary
protected static class TabBase.TabPropertyKeys
           
 
Field Summary
static String COMPONENT_TYPE
           
static String RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIColumn
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Fields inherited from interface com.liferay.faces.util.component.Styleable
STYLE, STYLE_CLASS
 
Constructor Summary
TabBase()
           
 
Method Summary
 String getContentClass()
          contentClass attribute description:
 String getHeaderClass()
          headerClass attribute description:
 String getHeaderText()
          headerText attribute description:
 String getStyle()
          style attribute description:
 String getStyleClass()
          styleClass attribute description:
 boolean isDisabled()
          disabled attribute description:
 void setContentClass(String contentClass)
          contentClass attribute description:
 void setDisabled(boolean disabled)
          disabled attribute description:
 void setHeaderClass(String headerClass)
          headerClass attribute description:
 void setHeaderText(String headerText)
          headerText attribute description:
 void setStyle(String style)
          style attribute description:
 void setStyleClass(String styleClass)
          styleClass attribute description:
 
Methods inherited from class javax.faces.component.UIColumn
getFamily, getFooter, getHeader, setFooter, setHeader
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

RENDERER_TYPE

public static final String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

TabBase

public TabBase()
Method Detail

getContentClass

public String getContentClass()

contentClass attribute description:

When alloy:tab is a child of alloy:accordion, this is the name of the CSS class that is to be rendered within the class attribute of the content <div>


setContentClass

public void setContentClass(String contentClass)

contentClass attribute description:

When alloy:tab is a child of alloy:accordion, this is the name of the CSS class that is to be rendered within the class attribute of the content <div>


isDisabled

public boolean isDisabled()

disabled attribute description:

When this flag is true, the component will be disabled, and the user will be unable to intercat with the component.


setDisabled

public void setDisabled(boolean disabled)

disabled attribute description:

When this flag is true, the component will be disabled, and the user will be unable to intercat with the component.


getHeaderClass

public String getHeaderClass()

headerClass attribute description:

When alloy:tab is a child of alloy:accordion, this is the name of the CSS class that is to be rendered within the class attribute of the header <div>


setHeaderClass

public void setHeaderClass(String headerClass)

headerClass attribute description:

When alloy:tab is a child of alloy:accordion, this is the name of the CSS class that is to be rendered within the class attribute of the header <div>


getHeaderText

public String getHeaderText()

headerText attribute description:

The text to place in the header of the component.


setHeaderText

public void setHeaderText(String headerText)

headerText attribute description:

The text to place in the header of the component.


getStyle

public String getStyle()

style attribute description:

HTML passthrough attribute specifying the css style of the element.

Specified by:
getStyle in interface com.liferay.faces.util.component.Styleable

setStyle

public void setStyle(String style)

style attribute description:

HTML passthrough attribute specifying the css style of the element.

Specified by:
setStyle in interface com.liferay.faces.util.component.Styleable

getStyleClass

public String getStyleClass()

styleClass attribute description:

List of CSS class names (separated by spaces) that are to be rendered within the class attribute.

Specified by:
getStyleClass in interface com.liferay.faces.util.component.Styleable

setStyleClass

public void setStyleClass(String styleClass)

styleClass attribute description:

List of CSS class names (separated by spaces) that are to be rendered within the class attribute.

Specified by:
setStyleClass in interface com.liferay.faces.util.component.Styleable


Copyright © 2017 Liferay, Inc.. All rights reserved.