All Packages Class Hierarchy This Package Previous Next Index
Class tc.message.AccountOptionsMessage
java.lang.Object
|
+----connection.Message
|
+----tc.message.AccountOptionsMessage
- public class AccountOptionsMessage
- extends Message
AccountOptionsMessage is a specialized message for handling user specific
information in TC applications. This information includes the user name and
user interface configuration of the user's last session (calendar
granularity, the date that will be opened in the calendar, and so on), see
the constructor for details.
- Version:
- 0.30, 1998/04/01
- Author:
- FRED development team, Antti Viljamaa, Jukka Viljamaa
- See Also:
- Message, AccountOptionsMessage
-
columns
- The columns.
-
firstRow
- The first row.
-
granularity
- The granularity.
-
gridSize
- The grid size.
-
pageSize
- The page size.
-
rows
- The rows.
-
startDate
- The start date.
-
userName
- The user name.
-
AccountOptionsMessage(byte, String, int, int, int, int, int, int, long)
- Initializes a new AccountOptionsMessage object with the given arguments.
-
AccountOptionsMessage(String, int, int, int, int, int, int, long)
- Initializes a new AccountOptionsMessage object with the given arguments.
-
getColumns()
- Gets the columns.
-
getFirstRow()
- Gets the first row.
-
getGranularity()
- Gets the granularity.
-
getGridSize()
- Gets the grid size.
-
getPageSize()
- Gets page size.
-
getRows()
- Gets the rows.
-
getStartDate()
- Gets the start date.
-
getUserName()
- Gets the user name.
-
setColumns(int)
- Sets the columns.
-
setFirstRow(int)
- Sets the first row.
-
setGranularity(int)
- Sets the granularity.
-
setGridSize(int)
- Sets the grid size.
-
setPageSize(int)
- Sets the page size.
-
setRows(int)
- Sets the rows.
-
setStartDate(long)
- Sets the start date.
-
setUserName(String)
- Sets the user name.
columns
private int columns
- The columns.
firstRow
private int firstRow
- The first row.
granularity
private int granularity
- The granularity.
gridSize
private int gridSize
- The grid size.
pageSize
private int pageSize
- The page size.
rows
private int rows
- The rows.
startDate
private long startDate
- The start date.
userName
private String userName
- The user name.
AccountOptionsMessage
public AccountOptionsMessage(byte id,
String userName,
int columns,
int rows,
int pageSize,
int gridSize,
int granularity,
int firstRow,
long startDate)
- Initializes a new AccountOptionsMessage object with the given arguments.
- Parameters:
- id - The optional message id. The user can use this
field to separate different messages that
use this same class.
- userName - The user's user name.
- columns - The number of visible columns (the window columns)
in the user's calendar.
- rows - The number of visible rows (the window rows)
in the user's calendar.
- pageSize - The number of columns to go forwads or backwards
when changing page in the calendar.
- gridSize - The number of columns to fetch from the database
when expanding the grid (the grid increment).
- granularity - A constant denoting the granularity of the calendar
(e.g., DATExHOUR), see PropertyDialog for possible
values.
- startDate - The date (as milliseconds from the beginning of
1970) that will be shown first in the calendar
AccountOptionsMessage
public AccountOptionsMessage(String userName,
int columns,
int rows,
int pageSize,
int gridSize,
int granularity,
int firstRow,
long startDate)
- Initializes a new AccountOptionsMessage object with the given arguments.
- Parameters:
- userName - The user's user name.
- columns - The number of visible columns (the window columns)
in the user's calendar.
- rows - The number of visible rows (the window rows)
in the user's calendar.
- pageSize - The number of columns to go forwads or backwards
when changing page in the calendar.
- gridSize - The number of columns to fetch from the database
when expanding the grid (the grid increment).
- granularity - A constant denoting the granularity of the calendar
(e.g., DATExHOUR), see PropertyDialog for possible
values.
- startDate - The date (as milliseconds from the beginning of
1970) that will be shown first in the calendar
getColumns
public int getColumns()
- Gets the columns.
getFirstRow
public int getFirstRow()
- Gets the first row.
getGranularity
public int getGranularity()
- Gets the granularity.
getGridSize
public int getGridSize()
- Gets the grid size.
getPageSize
public int getPageSize()
- Gets page size.
getRows
public int getRows()
- Gets the rows.
getStartDate
public long getStartDate()
- Gets the start date.
getUserName
public String getUserName()
- Gets the user name.
setColumns
public void setColumns(int i)
- Sets the columns.
setFirstRow
public void setFirstRow(int i)
- Sets the first row.
setGranularity
public void setGranularity(int i)
- Sets the granularity.
setGridSize
public void setGridSize(int i)
- Sets the grid size.
setPageSize
public void setPageSize(int i)
- Sets the page size.
setRows
public void setRows(int i)
- Sets the rows.
setStartDate
public void setStartDate(long l)
- Sets the start date.
setUserName
public void setUserName(String s)
- Sets the user name.
All Packages Class Hierarchy This Package Previous Next Index