com.wewebu.ow.server.dmsdialogs.views
Class OwDirectInputPageSelectorComponent

java.lang.Object
  extended by com.wewebu.ow.server.dmsdialogs.views.OwPageSelectorComponent
      extended by com.wewebu.ow.server.dmsdialogs.views.OwSimplePageSelectorComponent
          extended by com.wewebu.ow.server.dmsdialogs.views.OwDirectInputPageSelectorComponent

public class OwDirectInputPageSelectorComponent
extends OwSimplePageSelectorComponent

Class for simple page selector component, using images for rendering the links to the first, last, next, previous pages.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
2.5.2.0

Field Summary
 
Fields inherited from class com.wewebu.ow.server.dmsdialogs.views.OwPageSelectorComponent
isStickyFooterInUse, LOG, m_configNode, m_view
 
Constructor Summary
OwDirectInputPageSelectorComponent(OwPageableView view_p)
          Constructor.
 
Method Summary
protected  String getSimplePageSelectorStyleClass()
          Get the name of the page selector style class
protected  void renderFirstPageActiveContent(Writer w_p)
          Render active content (a symbol or an image) for the first page.
protected  void renderFirstPageInactiveContent(Writer w_p)
          Render inactive content (a symbol or an image) for the first page.
protected  void renderLastPageActiveContent(Writer w_p)
          Render active content (a symbol or an image) for the last page.
protected  void renderLastPageInactiveContent(Writer w_p)
          Render inactive content (a symbol or an image) for the last page.
protected  void renderNextPageActiveContent(Writer w_p)
          Render active content (a symbol or an image) for the next page.
protected  void renderNextPageInactiveContent(Writer w_p)
          Render inactive content (a symbol or an image) for the next page.
protected  void renderPreviousPageActiveContent(Writer w_p)
          Render active content (a symbol or an image) for the previous page.
protected  void renderPreviousPageInactiveContent(Writer w_p)
          Render inactive content (a symbol or an image) for the previous page.
 
Methods inherited from class com.wewebu.ow.server.dmsdialogs.views.OwSimplePageSelectorComponent
render
 
Methods inherited from class com.wewebu.ow.server.dmsdialogs.views.OwPageSelectorComponent
getDisplayCurrentPageNumber, getHumanReadablePageNumber, getLastPage, getPageAbsolutURL, getPageNextURL, getPagePrevURL, hasPaging, init, renderAccessibilityMark, setConfigNode, shouldRenderComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwDirectInputPageSelectorComponent

public OwDirectInputPageSelectorComponent(OwPageableView view_p)
Constructor.

Parameters:
view_p - - the pageable view (see OwPageableView)
Method Detail

renderFirstPageActiveContent

protected void renderFirstPageActiveContent(Writer w_p)
                                     throws Exception
Description copied from class: OwSimplePageSelectorComponent
Render active content (a symbol or an image) for the first page.

Specified by:
renderFirstPageActiveContent in class OwSimplePageSelectorComponent
Parameters:
w_p - - the writer
Throws:
Exception - - thrown when this method fails.
See Also:
OwSimplePageSelectorComponent.renderFirstPageActiveContent(java.io.Writer)

renderFirstPageInactiveContent

protected void renderFirstPageInactiveContent(Writer w_p)
                                       throws Exception
Description copied from class: OwSimplePageSelectorComponent
Render inactive content (a symbol or an image) for the first page.

Specified by:
renderFirstPageInactiveContent in class OwSimplePageSelectorComponent
Parameters:
w_p - - the writer
Throws:
Exception - - thrown when this method fails.
See Also:
OwSimplePageSelectorComponent.renderFirstPageInactiveContent(java.io.Writer)

renderPreviousPageActiveContent

protected void renderPreviousPageActiveContent(Writer w_p)
                                        throws Exception
Description copied from class: OwSimplePageSelectorComponent
Render active content (a symbol or an image) for the previous page.

Specified by:
renderPreviousPageActiveContent in class OwSimplePageSelectorComponent
Parameters:
w_p - - the writer
Throws:
Exception - - thrown when this method fails.
See Also:
OwSimplePageSelectorComponent.renderPreviousPageActiveContent(java.io.Writer)

renderPreviousPageInactiveContent

protected void renderPreviousPageInactiveContent(Writer w_p)
                                          throws Exception
Description copied from class: OwSimplePageSelectorComponent
Render inactive content (a symbol or an image) for the previous page.

Specified by:
renderPreviousPageInactiveContent in class OwSimplePageSelectorComponent
Parameters:
w_p - - the writer
Throws:
Exception - - thrown when this method fails.
See Also:
OwSimplePageSelectorComponent.renderPreviousPageInactiveContent(java.io.Writer)

renderNextPageInactiveContent

protected void renderNextPageInactiveContent(Writer w_p)
                                      throws Exception
Description copied from class: OwSimplePageSelectorComponent
Render inactive content (a symbol or an image) for the next page.

Specified by:
renderNextPageInactiveContent in class OwSimplePageSelectorComponent
Parameters:
w_p - - the writer
Throws:
Exception - - thrown when this method fails.
See Also:
OwSimplePageSelectorComponent.renderNextPageInactiveContent(java.io.Writer)

renderNextPageActiveContent

protected void renderNextPageActiveContent(Writer w_p)
                                    throws Exception
Description copied from class: OwSimplePageSelectorComponent
Render active content (a symbol or an image) for the next page.

Specified by:
renderNextPageActiveContent in class OwSimplePageSelectorComponent
Parameters:
w_p - - the writer
Throws:
Exception - - thrown when this method fails.
See Also:
OwSimplePageSelectorComponent.renderNextPageActiveContent(java.io.Writer)

renderLastPageInactiveContent

protected void renderLastPageInactiveContent(Writer w_p)
                                      throws Exception
Description copied from class: OwSimplePageSelectorComponent
Render inactive content (a symbol or an image) for the last page.

Specified by:
renderLastPageInactiveContent in class OwSimplePageSelectorComponent
Parameters:
w_p - - the writer
Throws:
Exception - - thrown when this method fails.
See Also:
OwSimplePageSelectorComponent.renderLastPageInactiveContent(java.io.Writer)

renderLastPageActiveContent

protected void renderLastPageActiveContent(Writer w_p)
                                    throws Exception
Description copied from class: OwSimplePageSelectorComponent
Render active content (a symbol or an image) for the last page.

Specified by:
renderLastPageActiveContent in class OwSimplePageSelectorComponent
Parameters:
w_p - - the writer
Throws:
Exception - - thrown when this method fails.
See Also:
OwSimplePageSelectorComponent.renderLastPageActiveContent(java.io.Writer)

getSimplePageSelectorStyleClass

protected String getSimplePageSelectorStyleClass()
Description copied from class: OwSimplePageSelectorComponent
Get the name of the page selector style class

Overrides:
getSimplePageSelectorStyleClass in class OwSimplePageSelectorComponent
Returns:
- the name of style class
See Also:
OwSimplePageSelectorComponent.getSimplePageSelectorStyleClass()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.