rcssjava.monitor
Class MonitorParams

java.lang.Object
  extended by rcssjava.monitor.MonitorParams

public class MonitorParams
extends java.lang.Object

Container for all of the monitor parameters and options


Field Summary
 double ball_radius
           
 java.awt.Color color_ball
           
 java.awt.Color color_body_ang
           
 java.awt.Color color_field
           
 java.awt.Color color_neck_ang
           
 java.awt.Color color_player_outline
           
 java.awt.Color color_team_l
           
 java.awt.Color color_team_r
           
 java.awt.Color color_unum_l
           
 java.awt.Color color_unum_r
           
 double corner_arc_radius
           
 int depth_ball
           
 int depth_player_body
           
 int depth_player_decorations
           
 int depth_player_outline
           
 int depth_player_unum
           
 int menu_size_y
           
 double penalty_spot_radius
           
 double plane_origin_x
           
 double plane_origin_y
           
 double plane_size_x
           
 double plane_size_y
           
 boolean show_ball
           
 boolean show_center_circle
           
 boolean show_middle_line
           
 boolean show_penalty_spot
           
 boolean show_players
           
 boolean show_sideline_players
           
 java.lang.String title
           
 int window_size_x
           
 int window_size_y
           
 
Constructor Summary
MonitorParams()
           
 
Method Summary
 java.lang.Object getParam(java.lang.String param)
          Gets the value of a monitor parameter
 boolean setParam(java.lang.String param, java.lang.String value)
          Sets a monitor parameter to a value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

public java.lang.String title

window_size_x

public int window_size_x

window_size_y

public int window_size_y

menu_size_y

public int menu_size_y

plane_origin_x

public double plane_origin_x

plane_origin_y

public double plane_origin_y

plane_size_x

public double plane_size_x

plane_size_y

public double plane_size_y

penalty_spot_radius

public double penalty_spot_radius

show_penalty_spot

public boolean show_penalty_spot

show_ball

public boolean show_ball

show_players

public boolean show_players

show_sideline_players

public boolean show_sideline_players

show_center_circle

public boolean show_center_circle

show_middle_line

public boolean show_middle_line

corner_arc_radius

public double corner_arc_radius

ball_radius

public double ball_radius

color_ball

public java.awt.Color color_ball

color_team_l

public java.awt.Color color_team_l

color_team_r

public java.awt.Color color_team_r

color_unum_l

public java.awt.Color color_unum_l

color_unum_r

public java.awt.Color color_unum_r

color_field

public java.awt.Color color_field

color_player_outline

public java.awt.Color color_player_outline

color_body_ang

public java.awt.Color color_body_ang

color_neck_ang

public java.awt.Color color_neck_ang

depth_ball

public int depth_ball

depth_player_body

public int depth_player_body

depth_player_decorations

public int depth_player_decorations

depth_player_outline

public int depth_player_outline

depth_player_unum

public int depth_player_unum
Constructor Detail

MonitorParams

public MonitorParams()
Method Detail

setParam

public boolean setParam(java.lang.String param,
                        java.lang.String value)
Sets a monitor parameter to a value

Parameters:
param - name of monitor parameter
value - value to set, presented as a String
Returns:
true if operation is successful

getParam

public java.lang.Object getParam(java.lang.String param)
Gets the value of a monitor parameter

Parameters:
param - name of monitor parameter
Returns:
value of monitor parameter or null if name is invalid