1 19 package org.openide.windows; 20 21 import java.awt.Image ; 22 import java.awt.Rectangle ; 23 24 import java.beans.PropertyChangeListener ; 25 26 import java.io.Serializable ; 27 28 29 45 public interface Mode extends Serializable { 46 47 public static final String PROP_BOUNDS = "bounds"; 49 51 public static final String PROP_NAME = "name"; 53 55 public static final String PROP_DISPLAY_NAME = "displayName"; 57 58 59 long serialVersionUID = -2650968323666215654L; 60 61 65 public String getDisplayName(); 66 67 70 public String getName(); 71 72 76 public Image getIcon(); 77 78 85 public boolean dockInto(TopComponent c); 86 87 92 public boolean canDock(TopComponent tc); 93 94 97 public void setBounds(Rectangle s); 98 99 102 public Rectangle getBounds(); 103 104 107 public Workspace getWorkspace(); 108 109 112 public TopComponent[] getTopComponents(); 113 114 117 public void addPropertyChangeListener(PropertyChangeListener list); 118 119 122 public void removePropertyChangeListener(PropertyChangeListener list); 123 124 126 public TopComponent getSelectedTopComponent(); 127 } 128 | Popular Tags |