QJCC homepage

biz.chitec.qdemo.chat.util
Class TextIconAttributes

java.lang.Object
  extended bybiz.chitec.qdemo.chat.util.TextIconAttributes

public class TextIconAttributes
extends java.lang.Object

Holds the Iconpath and two Integer which reprasents the start- and stopindex of the String (message) where the icon would be place.

Version:
$Id: 367548883efc365d4c5080a750c18a2ba6c418cc $
Author:
ir

Field Summary
private  java.lang.String imageicon
           
private  int startindex
           
private  int stopindex
           
 
Constructor Summary
TextIconAttributes(java.lang.String icon, int starti, int stopi)
           
 
Method Summary
 java.lang.String getImageIconPath()
          Returns String imageicon
 int getStartIndex()
          Returns the startindex
 int getStopIndex()
          Returns the stopindex
 void setImageIcon(java.lang.String icon)
          Set the iconpath
 void setStartIndex(int starti)
          Sets the startindex
 void setStopIndex(int stopi)
          Sets the stopindex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imageicon

private java.lang.String imageicon

startindex

private int startindex

stopindex

private int stopindex
Constructor Detail

TextIconAttributes

public TextIconAttributes(java.lang.String icon,
                          int starti,
                          int stopi)
Method Detail

getImageIconPath

public java.lang.String getImageIconPath()
Returns String imageicon

Returns:
imageicon String

setImageIcon

public void setImageIcon(java.lang.String icon)
Set the iconpath

Parameters:
icon - String

getStartIndex

public int getStartIndex()
Returns the startindex

Returns:
startindex int

setStartIndex

public void setStartIndex(int starti)
Sets the startindex

Parameters:
starti - int

getStopIndex

public int getStopIndex()
Returns the stopindex

Returns:
stopindex int

setStopIndex

public void setStopIndex(int stopi)
Sets the stopindex

Parameters:
stopi - int

QJCC homepage