com.wewebu.ow.server.ui.button
Class OwImageButtonView

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwEventTarget
      extended by com.wewebu.ow.server.ui.OwView
          extended by com.wewebu.ow.server.ui.button.OwImageButtonView
All Implemented Interfaces:
OwBaseView, OwUpdateTarget
Direct Known Subclasses:
OwMaxMinButtonControlView, OwObjectListViewControl, OwUnifyImageButtonView

public class OwImageButtonView
extends OwView

Simple view which provides additional handling, for ImageButton rendering.

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:
4.1.0.0

Field Summary
 
Fields inherited from class com.wewebu.ow.server.ui.OwView
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
 
Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView
EMPTY_STRING
 
Constructor Summary
OwImageButtonView()
           
 
Method Summary
 List<OwImageButton> getButtonList()
          Get a list of buttons which should be rendered.
 List<String> getDesignClasses()
          List of design classes, use also for direct attaching new classes.
 String getHtmlId()
          Get the id for UI (HTML)
protected  void init()
          init the target after the context is set.
protected  void onRender(Writer w_p)
          called when the view should create its HTML content to be displayed
 void setHtmlId(String id)
          Set an Id which will be used to identify the component in UI (HTML)
 
Methods inherited from class com.wewebu.ow.server.ui.OwView
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes
 
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwImageButtonView

public OwImageButtonView()
Method Detail

init

protected void init()
             throws Exception
Description copied from class: OwView
init the target after the context is set.

Overrides:
init in class OwView
Throws:
Exception

onRender

protected void onRender(Writer w_p)
                 throws Exception
Description copied from class: OwView
called when the view should create its HTML content to be displayed

Overrides:
onRender in class OwView
Parameters:
w_p - Writer object to write HTML to
Throws:
Exception

getDesignClasses

public List<String> getDesignClasses()
List of design classes, use also for direct attaching new classes.

getDesignClasses().add("MyNewDesignClass");

Returns:
List (by default empty list)

getHtmlId

public String getHtmlId()
Get the id for UI (HTML)

Returns:
String (can be null)

setHtmlId

public void setHtmlId(String id)
Set an Id which will be used to identify the component in UI (HTML)

Parameters:
id - String (can be null)

getButtonList

public List<OwImageButton> getButtonList()
Get a list of buttons which should be rendered.

Returns:
List


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.