Changes Current users: guest (web) |
We have implemented a multicolumn view feature of BRIDGE file system. Similar to the multicolumn view feature provided by Mac machine, this enables BRIDGE users view files and folders in a horizontally expandable window, instead of a vertical tree¡ªthe windows explore type of user interface. HorizontalViewPanel.java is the class that does the job. Some of its methods are listed as follows: //initialize the view, given a folder path public void setupUI(EmbeddedObjectPath path) //set up the interface when the method is called public void setupUI() //returns a scrollpane that renders this panel and its //horizontal scrollbar changes the position according to //the size of the view public JscrollPane getScrollPane() // remove all Jlists after the given list in the maintained // vector of Jlists. Given list is the list whose list item // is selected public void resetUI(Jlist list) // get current selection¡¯s logic path with the selected // EmbeddedObjectDescriptor public EmbeddedObjectPath getSelectedPath(EmbeddedObjectDescriptor desc)The class has a Listener class that handles list selection event and mouse event:
|
| /public/projects/bridge/design/Multicolumn view of BRIDGE file systems | Login | Web Editor | Full Editor |
| Last modified 9/11/03 1:24 PM by isenhour (history) Site contents | |