public interface LayoutSelector
Modifier and Type | Method and Description |
---|---|
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.
|
java.net.URL getPreferredLayoutURL()
null
indicating that the selector does not have a preferred layout.void setPreferredLayoutURL(java.net.URL layoutURL)
void initializeLayout(Layout layout)
void initializeActiveLayout()
boolean isReady()
java.lang.String getDisplayName()
java.lang.String getType()
void setType(java.lang.String type)
java.lang.String getPreferredLayoutBaseName()
void setPreferredLayoutBaseName(java.lang.String name)
void addPreferredLayoutListener(PreferredLayoutListener l)
PreferredLayoutListener
.void removePreferredLayoutListener(PreferredLayoutListener l)
PreferredLayoutListener
.