Public Methods | |
| ViewerControlBar () | |
| Constructor. More... | |
| int | getMode () | 
| Get the current mode. More... | |
| int | getSubMode () | 
| Get the current sub mode. More... | |
| void | setMode (int mode, int subMode) | 
| Set the viewer mode. More... | |
| boolean | isEnabledMode (int mode) | 
| Check whether the given viewer mode (see class ViewerMode) is enabled. More... | |
| void | setEnableMode (int mode, boolean b) | 
| Set whether the given viewer mode (see class ViewerMode) is enabled. More... | |
| Font | getFont () | 
| Get the font used. More... | |
| void | setFont (Font f) | 
| Set the font. More... | |
| void | addViewerModeListener (ViewerModeListener l) | 
| Add a viewer mode listener. More... | |
| void | removeViewerModeListener (ViewerModeListener l) | 
| Remove a viewer mode listener. More... | |
| void | actionPerformed (ActionEvent event) | 
| Implementation of ActionListener for buttons. More... | |
| void | itemStateChanged (ItemEvent event) | 
| Implementation of ItemListener for JComboBox. More... | |
      
  | 
  
| 
 Constructor. 
  | 
  
      
  | 
  
| 
 Get the current mode. 
  | 
  
      
  | 
  
| 
 Get the current sub mode. 
  | 
  
      
  | 
  ||||||||||||
| 
 Set the viewer mode. Will fail if mode is not enabled.  | 
  
      
  | 
  
| 
 Check whether the given viewer mode (see class ViewerMode) is enabled. 
  | 
  
      
  | 
  ||||||||||||
| 
 Set whether the given viewer mode (see class ViewerMode) is enabled. Will fail if you try to disable the current mode.  | 
  
      
  | 
  
| 
 Get the font used. 
  | 
  
      
  | 
  
| 
 Set the font. 
  | 
  
      
  | 
  
| 
 Add a viewer mode listener. 
  | 
  
      
  | 
  
| 
 Remove a viewer mode listener. 
  | 
  
      
  | 
  
| 
 Implementation of ActionListener for buttons. 
  | 
  
      
  | 
  
| 
 Implementation of ItemListener for JComboBox. 
  | 
  
1.2.12 written by Dimitri van Heesch,
 © 1997-2001