| net.refractions.udig.style.sld.IEditorPage
IEditorPage | public interface IEditorPage extends IDialogPage(Code) | | |
Method Summary | |
public void | applyData(Object data) | public Point | computeSize() Computes a size for this page's UI component. | public boolean | isValid() Returns whether this dialog page is in a valid state. | public boolean | okToLeave() Checks whether it is alright to leave this page. | public boolean | performApply() Executed immediately before an apply action. | public boolean | performCancel() Notifies that the container of this preference page has been canceled. | public boolean | performOk() Notifies that the OK button of this page's container has been pressed. | public void | refresh() | public void | setContainer(IEditorPageContainer dialog) | public void | setSize(Point size) Sets the size of this page's UI component. |
computeSize | public Point computeSize()(Code) | | Computes a size for this page's UI component.
the size of the preference page encoded asnew Point(width,height) , or (0,0) if the page doesn't currently have any UI component |
isValid | public boolean isValid()(Code) | | Returns whether this dialog page is in a valid state.
true if the page is in a valid state,and false if invalid |
okToLeave | public boolean okToLeave()(Code) | | Checks whether it is alright to leave this page.
false to abort page flipping and thehave the current page remain visible, and true to allow the page flip |
performApply | public boolean performApply()(Code) | | Executed immediately before an apply action.
|
performCancel | public boolean performCancel()(Code) | | Notifies that the container of this preference page has been canceled.
false to abort the container's cancel procedure and true to allow the cancel to happen |
performOk | public boolean performOk()(Code) | | Notifies that the OK button of this page's container has been pressed.
false to abort the container's OKprocessing and true to allow the OK to happen |
refresh | public void refresh()(Code) | | |
setSize | public void setSize(Point size)(Code) | | Sets the size of this page's UI component.
Parameters: size - the size of the preference page encoded asnew Point(width,height) |
|
|