|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soccerclient.datamanager.ViewMode
Überschrift: ViewMode
Beschreibung: In this class the actual viewmode is saved
Copyright: Copyright (c) 2002
Organisation: pm39
Inner Class Summary | |
(package private) class |
ViewMode.NoViewMode
|
Field Summary | |
static int |
HIGH
|
static int |
LOW
|
static int |
NARROW
|
static int |
NORMAL
|
static int |
WIDE
|
Constructor Summary | |
ViewMode()
Creates a new ViewMode instance with HIGH quality and NORMAL width |
|
ViewMode(int quality,
int width)
Creates a new ViewMode |
Method Summary | |
int |
getQuality()
Returns value of quality of the see-sense |
int |
getWidth()
Returns value of width of the see-sense |
void |
setViewMode(int vm)
Sets values quality or width. |
void |
setViewMode(int quality,
int width)
Sets values quality and width |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final int LOW
public static final int HIGH
public static final int NARROW
public static final int NORMAL
public static final int WIDE
Constructor Detail |
public ViewMode()
ViewMode
instance with HIGH quality and NORMAL widthpublic ViewMode(int quality, int width) throws java.lang.Exception
ViewMode
quality
- a int
value specifying quality of the see-sensewidth
- a int
value specifying width of the see-senseViewMode.NoViewMode
- quality
!= LOW|HIGH or width
!= NARROW|NORMAL|WIDEMethod Detail |
public int getQuality()
int
containing value of quality (LOW|HIGH)public int getWidth()
int
containing value of width (NARROW|NORMAL|WIDTH)public void setViewMode(int vm) throws java.lang.Exception
vm
= LOW|HIGH then quality is set
If vm
= NARROW|NORMAL|WIDE then width is setvm
- a int
value specifying quality or width of the see-senseViewMode.NoViewMode
- vm
!= LOW|HIGH|NARROW|NORMAL|WIDEpublic void setViewMode(int quality, int width) throws java.lang.Exception
quality
- a int
value specifying quality of the see-sensewidth
- a int
value specifying width of the see-senseViewMode.NoViewMode
- quality
!= LOW|HIGH or width
!= NARROW|NORMAL|WIDE
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |