public class ODNote
extends java.lang.Object
implements java.io.Serializable
ODNote note = new ODNote();
(c) Copyright IBM Corp. 1993, 2015. All Rights Reserved| Modifier and Type | Field and Description |
|---|---|
static int |
PRIVATE_GROUP |
static int |
PRIVATE_USER |
static int |
PUBLIC |
| Constructor and Description |
|---|
ODNote()
Default Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
char |
getColor()
Get the note color
|
java.lang.String |
getDateTime()
Get the note creation date/time.
|
java.lang.String |
getGMTDateTime()
Get the note creation date/time in GMT.
|
java.lang.String |
getGroupName()
Get the note group name.
|
double |
getOffsetPercentX() |
double |
getOffsetPercentY() |
int |
getOffsetX()
Get the offset of the note
|
int |
getOffsetY() |
int |
getPageNum()
Get the page number
|
java.lang.String |
getText()
Get the note text.
|
java.lang.String |
getUserId()
Get the note creator.
|
boolean |
isDeleted()
Determine if this note is deleted
|
boolean |
isOkToCopy()
Determine if this note can be copied to another server.
|
boolean |
isPublic()
Check if note is public or not.
|
void |
setGroupName(java.lang.String groupName)
Set the note group name.
|
void |
setOkToCopy(boolean okToCopy)
Set whether or not this note can be copied to another server.
|
void |
setPageNumber(int pgNum)
Set the page number of the annotation object for this ODNote
for the JLDV applet
|
void |
setPublic(boolean isPublic)
Set whether or not this note is public.
|
void |
setText(java.lang.String text)
Set the note text.
|
public static final int PUBLIC
public static final int PRIVATE_USER
public static final int PRIVATE_GROUP
public boolean isPublic()
public void setPublic(boolean isPublic)
isPublic - true/falsepublic boolean isOkToCopy()
public void setOkToCopy(boolean okToCopy)
okToCopy - true/falsepublic boolean isDeleted()
public int getPageNum()
public int getOffsetX()
public int getOffsetY()
public double getOffsetPercentX()
public double getOffsetPercentY()
public char getColor()
ODConstant.ColorWhite,
ODConstant.ColorBlack,
ODConstant.ColorRed,
ODConstant.ColorBlue,
ODConstant.ColorGreen,
ODConstant.ColorYellow,
ODConstant.ColorMagenta,
ODConstant.ColorCyan,
ODConstant.ColorGreypublic java.lang.String getUserId()
public java.lang.String getDateTime()
public java.lang.String getGMTDateTime()
public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName - Set if note should be associated with an OnDemand group.public java.lang.String getText()
public void setText(java.lang.String text)
text - The content of the note.public void setPageNumber(int pgNum)
pgNum - The page number where the annotation will appear(c)Copyright International Business Machines Corporation 2001, 2020. IBM Corp. All rights reserved.