|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jSyncManager.API.Protocol.Util.DLPRecord | +--org.jSyncManager.API.Protocol.Util.StdApps.NotepadRecord
This class represents a Notepad record. Notepad records are RLE compressed bitmapped images.
Inner Class Summary | |
---|---|
(package private) class |
NotepadRecord.NotepadDataRecord
A class to represent a single Notepad data element. |
Field Summary | |
---|---|
static char |
NOTEPAD_HAS_ALARM
A flag to denote that this record has an alarm. |
static char |
NOTEPAD_HAS_BODY
A flag to denote that this record has a body (image). |
static char |
NOTEPAD_HAS_NAME
A flag to denote that this record has a name. |
protected static java.util.ResourceBundle |
rb
|
Fields inherited from class org.jSyncManager.API.Protocol.Util.DLPRecord |
---|
ARCHIVED, attributes, BUSY, category, data, DATA_INCLUDED, DELETE_ALL_IN_CATEGORY, DELETE_ALL_RECORDS, DELETED, DIRTY, index, inputData, recordID, recordSize, SECRET, SORT_DATABASE |
Constructor Summary | |
---|---|
NotepadRecord()
NotepadRecord default constructor. |
|
NotepadRecord(DLPRecord record)
Create a NotepadRecord using the given DLPRecord. |
Method Summary | |
---|---|
protected void |
generateData()
Generate the raw data block from the existing fields. |
java.util.Calendar |
getAlarmTime()
Get the alarm time of this Notepad record. |
java.util.Calendar |
getCreationTime()
Get the creation time of this Notepad record. |
int |
getHeight()
Get the height of the Notepad record image buffer. |
java.awt.image.ImageProducer |
getImage()
Parse the recordset data and return an ImageProducer image set. |
java.util.Calendar |
getModificationTime()
Get the modification time of this Notepad record. |
java.lang.String |
getTitle()
Get the title string of this Notepad record. |
int |
getWidth()
Get the width of the Notepad record image buffer. |
protected void |
parseFields()
Parse the data fields. |
Methods inherited from class org.jSyncManager.API.Protocol.Util.DLPRecord |
---|
checkAttribute, getAttributes, getCategory, getData, getIndex, getRecordID, getRecordSize, setAttributes, setCategory, setData, setIndex, setRecordID, setRecordSize, toString |
Methods inherited from class java.lang.Object |
---|
|
Field Detail |
protected static java.util.ResourceBundle rb
public static final char NOTEPAD_HAS_BODY
public static final char NOTEPAD_HAS_NAME
public static final char NOTEPAD_HAS_ALARM
Constructor Detail |
public NotepadRecord()
public NotepadRecord(DLPRecord record)
record
- a DLPRecord object containing a record for the Notepad database.Method Detail |
protected void generateData()
generateData
in class DLPRecord
protected void parseFields()
parseFields
in class DLPRecord
public java.awt.image.ImageProducer getImage()
public java.util.Calendar getCreationTime()
public java.util.Calendar getModificationTime()
public java.util.Calendar getAlarmTime()
public java.lang.String getTitle()
public int getWidth()
public int getHeight()
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |