|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iaaf.web.PageTemplet
Title: PageTemplet.java
Description: parent class of SuperUserPageTemplet, AdminPageTemplet,
OperatorPageTemplet and AnalyserTemplet
prepare a templet of html file. The portion of templet draw as
following
|------------------------------------------------------------|
| | Title |
|----------|-------------------------------------------------|
| Main menu |
|------------------------------------------------------------|
| sub menu | |
| | Content |
| | |
|------------------------------------------------------------|
Copyright: Copyright (c) 2001
Company:
Field Summary | |
static int |
ADMINISTRATOR
|
static int |
SUPERUSER
|
static int |
USER
|
Constructor Summary | |
PageTemplet()
|
Method Summary | |
abstract java.lang.String |
getTemplet()
abstract method for getting the string represents this templet |
void |
setContent(java.lang.String content)
set the content of the page |
void |
setJS(java.lang.String js)
set the javascript |
void |
setLogo(java.lang.String logo)
set the logo of the page |
abstract void |
setMmenu(int pageState)
set main menu according to the stage |
void |
setMmenu(java.lang.String mainmenu)
set main menu |
void |
setName(java.lang.String name)
set the browser title |
void |
setSmenu(java.lang.String submenu)
set sub menu |
void |
setSmenu(java.lang.String[] submenu,
int selectedIndex)
set sub menu |
void |
setTitle(java.lang.String title)
set the title of page |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static int USER
public static int ADMINISTRATOR
public static int SUPERUSER
Constructor Detail |
public PageTemplet()
Method Detail |
public abstract java.lang.String getTemplet()
public abstract void setMmenu(int pageState)
pageState
- stage of the pagepublic void setMmenu(java.lang.String mainmenu)
mainmenu
- String that represents the portion of main menupublic void setSmenu(java.lang.String submenu)
submenu
- String array of caption of sub menuselectedIndex
- want which one to be selectedpublic void setContent(java.lang.String content)
content
- String that represents the portion of contentpublic void setName(java.lang.String name)
name
- String want to set on the browser titlepublic void setTitle(java.lang.String title)
title
- title of the pagepublic void setJS(java.lang.String js)
js
- String represents the portion of javascriptpublic void setLogo(java.lang.String logo)
logo
- String represents the portion of logopublic void setSmenu(java.lang.String[] submenu, int selectedIndex)
submenu
- String array of caption of sub menuselectedIndex
- want which one to be selected
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |