Package hec.tcu
Class TcuInfo
java.lang.Object
hec.tcu.TcuInfo
- Direct Known Subclasses:
TcuInfoAbout
,TcuInfoAccept
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
static TcuInfo
getTcuInfo
(int type) override to provide application specific terms and conditions of use.getText()
getTitle()
void
setAppName
(String appName) void
setMimeType
(String mimeType) set the MIME type one of:
text/plain
Plain text, which is the default the type given isn't recognized.void
set 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
-