Class W3C.PICS.FilterCheckbox
All Packages Class Hierarchy This Package Previous Next Index
Class W3C.PICS.FilterCheckbox
W3C.PICS.DCheckbox
|
+----W3C.PICS.FilterCheckbox
- public class FilterCheckbox
- extends DCheckbox
A Checkbox with built-in ranking. It will always make sure that
all the higher-ranked (smaller rank number) checkboxes are checked
and lower-ranked checkboxes are unchecked.
-
FilterCheckbox(String, String, TextComponent, int, boolean, Vector, Vector)
-
-
keyDown(Event, int)
- This function is suitable for common categories that blocking a certain
value usually implies blocking all larger values and allowing all smaller
values.
-
setGroupState(boolean)
- Used keyDown to get around the state==true test in setState()
-
setState(boolean)
-
FilterCheckbox
public FilterCheckbox(String label,
String Description,
TextComponent DText,
int rank,
boolean block,
Vector Checkboxes,
Vector TheOtherCheckboxes)
setState
public void setState(boolean state)
keyDown
public boolean keyDown(Event e,
int key)
- This function is suitable for common categories that blocking a certain
value usually implies blocking all larger values and allowing all smaller
values. For example, categories in rcsa.rat
Note: I should have used mouse right click instead. But java.awt.Componenet
has a bug that right clicks are ignored.
setGroupState
public void setGroupState(boolean state)
- Used keyDown to get around the state==true test in setState()
All Packages Class Hierarchy This Package Previous Next Index