Package hec.tcu
Class TcuInfo
java.lang.Object
hec.tcu.TcuInfo
- Direct Known Subclasses:
TcuInfoAbout,TcuInfoAccept
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringstatic TcuInfogetTcuInfo(int type) override to provide application specific terms and conditions of use.getText()getTitle()voidsetAppName(String appName) voidsetMimeType(String mimeType) set the MIME type one of:
text/plain
Plain text, which is the default the type given isn't recognized.voidset the text of the Terms and Conditionsvoid
-
Field Details
-
TCU_READ
public static final int TCU_READ- See Also:
-
TCU_UNDREAD
public static final int TCU_UNDREAD- See Also:
-
TCU_ABOUT
public static final int TCU_ABOUT- See Also:
-
TCU_ACCEPT
public static final int TCU_ACCEPT- See Also:
-
_filename
-
-
Constructor Details
-
TcuInfo
public TcuInfo()
-
-
Method Details
-
setTitle
-
getTitle
-
setText
set the text of the Terms and Conditions -
setMimeType
set the MIME type one of:
text/plain
Plain text, which is the default the type given isn't recognized.
text/html
HTML text.
text/rtf
RTF text. -
getText
-
getMimeType
-
getTcuInfo
override to provide application specific terms and conditions of use.- Parameters:
type- one of either TcuInfo.ABOUT or TcuInfo.ACCEPT- Returns:
-
getTcuFilename
-
setAppName
-