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

java.lang.Object
  extended by com.wewebu.ow.server.ui.button.OwImageButton

public class OwImageButton
extends Object

POJO for image link/button 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

Constructor Summary
OwImageButton()
           
OwImageButton(String eventString, String imageLink)
           
OwImageButton(String eventString, String imageLink, String tooltip)
           
OwImageButton(String eventString, String imageLink, String tooltip, String designClass)
           
 
Method Summary
 String getDesignClass()
          Design class which can be set for this button instance.
 String getEventString()
          Get String which represent the event/action to be fired when clicked.
 String getImageLink()
          Get an URI/URL to the image which should be used as background for the button.
 String getTooltip()
          Get text which should be used as tooltip.
 void setDesignClass(String designClass)
           
 void setEventString(String eventString)
           
 void setImageLink(String imageLink)
           
 void setTooltip(String tooltip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwImageButton

public OwImageButton()

OwImageButton

public OwImageButton(String eventString,
                     String imageLink)

OwImageButton

public OwImageButton(String eventString,
                     String imageLink,
                     String tooltip)

OwImageButton

public OwImageButton(String eventString,
                     String imageLink,
                     String tooltip,
                     String designClass)
Method Detail

getTooltip

public String getTooltip()
Get text which should be used as tooltip. Can return null if not set.

Returns:
String or null

setTooltip

public void setTooltip(String tooltip)

getEventString

public String getEventString()
Get String which represent the event/action to be fired when clicked.

Returns:
String or null

setEventString

public void setEventString(String eventString)

getImageLink

public String getImageLink()
Get an URI/URL to the image which should be used as background for the button.

Returns:
String

setImageLink

public void setImageLink(String imageLink)

getDesignClass

public String getDesignClass()
Design class which can be set for this button instance.

Returns:
String or null

setDesignClass

public void setDesignClass(String designClass)


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.