|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LayoutSelector interface. Views that want to select a preferred layout when activated should implement this interface.
Method Summary | |
void |
addPreferredLayoutListener(PreferredLayoutListener l)
Add a PreferredLayoutListener . |
java.lang.String |
getDisplayName()
Returns a visible name that describes the class implementing this interface. |
java.lang.String |
getPreferredLayoutBaseName()
Returns the base name is used as the file name part when building the preferred layout URL. |
java.net.URL |
getPreferredLayoutURL()
Implementations should override this method and return their preferred layout. |
java.lang.String |
getType()
Return a string that uniquely identifies this selector. |
void |
initializeActiveLayout()
This method is called immediate after activating the selector's preferred layout. |
void |
initializeLayout(Layout layout)
This method is called before to activate the selector's preferred layout. |
boolean |
isReady()
This method is called before a preferred layout is activated. |
void |
removePreferredLayoutListener(PreferredLayoutListener l)
Remvoe a PreferredLayoutListener . |
void |
setPreferredLayoutBaseName(java.lang.String name)
Set the base name is used as the file name part when building the preferred layout URL. |
void |
setPreferredLayoutURL(java.net.URL layoutURL)
This method is called from the activatePreferredLayout method to record a layout chosen by the user as their preferred layout. |
void |
setType(java.lang.String type)
Set a string that uniquely identifies this selector. |
Method Detail |
public java.net.URL getPreferredLayoutURL()
null
indicating that the selector does not have a preferred layout.
public void setPreferredLayoutURL(java.net.URL layoutURL)
public void initializeLayout(Layout layout)
public void initializeActiveLayout()
public boolean isReady()
public java.lang.String getDisplayName()
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getPreferredLayoutBaseName()
public void setPreferredLayoutBaseName(java.lang.String name)
public void addPreferredLayoutListener(PreferredLayoutListener l)
PreferredLayoutListener
.
public void removePreferredLayoutListener(PreferredLayoutListener l)
PreferredLayoutListener
.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.