org.sakaiproject.tool.calendar
Class CalendarAction.CalendarFormattedText

java.lang.Object
  extended byorg.sakaiproject.tool.calendar.CalendarAction.CalendarFormattedText
Enclosing class:
CalendarAction

public class CalendarAction.CalendarFormattedText
extends Object

An inner class that can be initiated to perform text formatting


Constructor Summary
CalendarAction.CalendarFormattedText()
           
 
Method Summary
 String trimFormattedText(String formattedText, int maxNumOfChars)
          Use of FormattedText object's trimFormattedText function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarAction.CalendarFormattedText

public CalendarAction.CalendarFormattedText()
Method Detail

trimFormattedText

public String trimFormattedText(String formattedText,
                                int maxNumOfChars)
Use of FormattedText object's trimFormattedText function.

Parameters:
formattedText - The formatted text to trim
maxNumOfChars - The maximum number of displayed characters in the returned trimmed formatted text.
Returns:
String A String to hold the trimmed formatted text