- Timestamp:
- 2003-05-27T15:40:47+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/util/DragComponent.java
r4293 r4364 52 52 /** Any component that wants to act a GTree like drag'n'drop component must implement this. */ 53 53 public interface DragComponent { 54 55 56 57 58 59 60 61 62 63 64 54 public void addFocusListener(FocusListener listener); 55 /** In order for the appearance to be consistant, given we may be in the situation where the pointer has left our focus but the ghost remains, this method allows other members of the Group to tell this component to repair the 'spoilt' region left by its ghost. */ 56 public void clearGhost(); 57 /** Used to notify this component that it has gained focus by some method other that mouse focus. */ 58 public void gainFocus(); 59 /** Retrieve the model associated with this component. */ 60 public FileSystemModel getTreeModel(); 61 /** This method is used to inform this component when it loses focus by means other than a drag mouse event, and should indicate this somehow. */ 62 public void loseFocus(); 63 /** Set the components group. */ 64 public void setGroup(DragGroup group); 65 65 }
Note:
See TracChangeset
for help on using the changeset viewer.