1 19 20 package org.netbeans.modules.palette; 21 22 import java.beans.PropertyChangeListener ; 23 24 25 26 32 public interface Settings { 33 34 void addPropertyChangeListener( PropertyChangeListener l ); 35 36 void removePropertyChangeListener( PropertyChangeListener l ); 37 38 boolean isVisible( Item item ); 39 40 void setVisible( Item item, boolean visible ); 41 42 boolean isVisible( Category category ); 43 44 void setVisible( Category category, boolean visible ); 45 46 boolean isExpanded( Category category ); 47 48 void setExpanded( Category category, boolean expanded ); 49 50 void setShowItemNames( boolean showNames ); 51 52 boolean getShowItemNames(); 53 54 void setIconSize( int iconSize ); 55 56 int getIconSize(); 57 58 int getItemWidth(); 59 60 void reset(); 61 } 62 | Popular Tags |