4 package CXGN
::Cview
::Legend
;
20 my $self = bless {}, $class;
21 $self->set_viewer($viewer);
25 =head2 accessors get_viewer, set_viewer
37 return $self->{viewer
};
42 $self->{viewer
} = shift;
47 =head2 accessors get_legend_html, set_legend_html
59 return $self->{legend_html
};
64 $self->{legend_html
} = shift;
67 =head2 accessors get_name, set_name
84 $self->{name
} = shift;
88 =head2 accessors get_mode, set_mode
100 return $self->{mode
};
105 $self->{mode
} = shift;
110 =head2 accessors get_value, set_value
122 return $self->{value
};
127 $self->{value
} = shift;
130 =head2 accessors get_state_hashref, set_state_hashref
140 sub get_state_hashref
{
142 return $self->{state_hashref
};
145 sub set_state_hashref
{
147 $self->{state_hashref
} = shift;