|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDialogPage
net.refractions.udig.style.sld.editor.StyleEditorPage
net.refractions.udig.style.sld.editor.StyleThemePage
public class StyleThemePage
Field Summary |
---|
Fields inherited from class net.refractions.udig.style.sld.editor.StyleEditorPage |
---|
XPID |
Constructor Summary | |
---|---|
StyleThemePage()
|
Method Summary | |
---|---|
void |
createPageContent(Composite parent)
Creates the page content. |
void |
dispose()
|
ColorBrewer |
getBrewer()
|
Button |
getButton(int widgetID)
|
Combo |
getCombo(int widgetID)
|
Composite |
getComposite(int widgetID)
|
java.lang.Object |
getControl(int widgetID)
|
java.lang.String |
getErrorMessage()
Returns an error message, if applicable. |
java.lang.String |
getLabel()
|
Label |
getLabel(int widgetID)
|
GridData |
getLayoutData(int widgetID)
|
void |
gotFocus()
Each subclass must implement this method which is called each time the page obtains focus. |
boolean |
isValid()
Determines if the page contents are valid input. |
boolean |
okToLeave()
Checks whether it is alright to leave this page. |
boolean |
performApply()
Executed immediately before an apply action. |
boolean |
performCancel()
Invoked when the user clicks cancel. |
boolean |
performOk()
Notifies that the OK button of this page's container has been pressed. |
void |
refresh()
|
void |
setStatusText(java.lang.String text)
|
void |
styleChanged(GTEvent arg)
Each subclass must implement this method which is called each time the style object is modified on ANY page. |
Methods inherited from class net.refractions.udig.style.sld.editor.StyleEditorPage |
---|
applyData, computeSize, createControl, createDescriptionLabel, doComputeSize, getContainer, getEditorPage, getSelectedLayer, getSLD, getStyle, init, setContainer, setSize, setStyle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StyleThemePage()
Method Detail |
---|
public Button getButton(int widgetID)
public Combo getCombo(int widgetID)
public Composite getComposite(int widgetID)
public Label getLabel(int widgetID)
public GridData getLayoutData(int widgetID)
public java.lang.Object getControl(int widgetID)
public boolean isValid()
StyleEditorPage
isValid
in interface IEditorPage
isValid
in class StyleEditorPage
true
if the page is in a valid state,
and false
if invalidpublic boolean okToLeave()
IEditorPage
false
to abort page flipping and the
have the current page remain visible, and true
to allow the page flippublic boolean performCancel()
StyleEditorPage
performCancel
in interface IEditorPage
performCancel
in class StyleEditorPage
false
to abort the container's cancel
procedure and true
to allow the cancel to happenpublic boolean performOk()
IEditorPage
false
to abort the container's OK
processing and true
to allow the OK to happenpublic void dispose()
dispose
in class StyleEditorPage
public java.lang.String getErrorMessage()
StyleEditorPage
getErrorMessage
in class StyleEditorPage
public ColorBrewer getBrewer()
public void createPageContent(Composite parent)
StyleEditorPage
createPageContent
in class StyleEditorPage
parent
- composite to put the page content inpublic void setStatusText(java.lang.String text)
public java.lang.String getLabel()
getLabel
in class StyleEditorPage
public void styleChanged(GTEvent arg)
StyleEditorPage
styleChanged
in class StyleEditorPage
public void gotFocus()
StyleEditorPage
gotFocus
in class StyleEditorPage
public boolean performApply()
IEditorPage
public void refresh()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |