|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTopComponent
org.formaria.editor.netbeans.project.pages.StylePalette
public class StylePalette
A TopComponent wrapper for the style editor
Copyright (c) Formaria Ltd., 1998-2008
License: see license.txt
| Method Summary | |
|---|---|
void |
addStyleListener(StyleListener l)
Set a listener for style changes |
java.util.List |
availableModes(java.util.List modes)
|
boolean |
canClose()
|
void |
dispose()
|
static StylePalette |
getDefault()
|
int |
getPersistenceType()
|
java.lang.String |
preferredID()
|
java.lang.Object |
readResolve()
Resolve to singleton instance |
void |
setFocus()
|
void |
setSelectedComponents(IPagePanel currentPagePanel,
java.util.Vector selectedComponents,
boolean contentsChanged)
Called when a component has been selected |
void |
styleChanged(java.lang.String styleName,
Style newStyle)
Called when a style is changed. |
void |
update()
Force the editor to refresh itself. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static StylePalette getDefault()
public java.util.List availableModes(java.util.List modes)
public boolean canClose()
public java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic java.lang.String preferredID()
public int getPersistenceType()
public void setSelectedComponents(IPagePanel currentPagePanel,
java.util.Vector selectedComponents,
boolean contentsChanged)
setSelectedComponents in interface ComponentSelectListenersetSelectedComponents in interface IStylePaletteselectedComponents - public void addStyleListener(StyleListener l)
addStyleListener in interface IStylePalettelistener - the new listener
public void styleChanged(java.lang.String styleName,
Style newStyle)
styleChanged in interface IStylePalettestyleChanged in interface StyleListenerstyleName - the name of the style which has been changednewStyle - The new Stylepublic void update()
update in interface IStylePalettepublic void setFocus()
setFocus in interface IStylePalettepublic void dispose()
dispose in interface IStylePalette
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||