com.wewebu.ow.server.history
Class OwTouchConfiguration.OwEventID2IconMaping

java.lang.Object
  extended by com.wewebu.ow.server.history.OwTouchConfiguration.OwEventID2IconMaping
Enclosing class:
OwTouchConfiguration

public class OwTouchConfiguration.OwEventID2IconMaping
extends Object

Convenient class for holding a pair of event ID and icon for a given event type


Constructor Summary
OwTouchConfiguration.OwEventID2IconMaping(String eventId_p, String icon_p, String tooltip_p)
          Constructor
 
Method Summary
 boolean equals(Object obj_p)
           
 String getEventId()
          Getter for event ID.
 String getIcon()
          Getter for icon path
 String getTooltip()
          Get the localized tooltip string.
 int hashCode()
           
 boolean hasTooltip()
          Check if a tooltip is available
 boolean isGenericMapping()
          Check if this mapping contains a generic event ID ("*").
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwTouchConfiguration.OwEventID2IconMaping

public OwTouchConfiguration.OwEventID2IconMaping(String eventId_p,
                                                 String icon_p,
                                                 String tooltip_p)
Constructor

Parameters:
eventId_p - - the event ID
icon_p - - the icon path
tooltip_p - - the tooltip for the icon
Method Detail

getEventId

public String getEventId()
Getter for event ID.

Returns:
the event ID.

getIcon

public String getIcon()
Getter for icon path

Returns:
the icon path

getTooltip

public String getTooltip()
Get the localized tooltip string.

Returns:
- the tooltip

hasTooltip

public boolean hasTooltip()
Check if a tooltip is available

Returns:
true if a tooltip is configured.

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj_p)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

isGenericMapping

public boolean isGenericMapping()
Check if this mapping contains a generic event ID ("*").

Returns:
true - if this mapping is for a generic event ID.


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.