|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.preference.FieldEditor
org.eclipse.jface.preference.StringFieldEditor
eu.esdihumboldt.hale.ui.io.util.URLFieldEditor
public class URLFieldEditor
A field editor for URLs. Does validation based on the URL syntax and available protocols.
Field Summary |
---|
Fields inherited from class org.eclipse.jface.preference.StringFieldEditor |
---|
oldValue, UNLIMITED, VALIDATE_ON_FOCUS_LOST, VALIDATE_ON_KEY_STROKE |
Fields inherited from class org.eclipse.jface.preference.FieldEditor |
---|
HORIZONTAL_GAP, IS_VALID, VALUE |
Constructor Summary | |
---|---|
URLFieldEditor()
Default constructor |
|
URLFieldEditor(String name,
String labelText,
org.eclipse.swt.widgets.Composite parent)
|
Method Summary | |
---|---|
protected boolean |
checkState()
|
protected boolean |
doCheckState()
|
URL |
getURL()
Get the URL value. |
Methods inherited from class org.eclipse.jface.preference.StringFieldEditor |
---|
adjustForNumColumns, doFillIntoGrid, doLoad, doLoadDefault, doStore, getErrorMessage, getNumberOfControls, getStringValue, getTextControl, getTextControl, isEmptyStringAllowed, isValid, refreshValidState, setEmptyStringAllowed, setEnabled, setErrorMessage, setFocus, setStringValue, setTextLimit, setValidateStrategy, showErrorMessage, valueChanged |
Methods inherited from class org.eclipse.jface.preference.FieldEditor |
---|
applyFont, checkParent, clearErrorMessage, clearMessage, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, createControl, dispose, fillIntoGrid, fireStateChanged, fireValueChanged, getFieldEditorFontName, getLabelControl, getLabelControl, getLabelText, getPage, getPreferenceName, getPreferencePage, getPreferenceStore, init, load, loadDefault, presentsDefaultValue, setButtonLayoutData, setLabelText, setPage, setPreferenceName, setPreferencePage, setPreferenceStore, setPresentsDefaultValue, setPropertyChangeListener, showErrorMessage, showMessage, store |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URLFieldEditor()
public URLFieldEditor(String name, String labelText, org.eclipse.swt.widgets.Composite parent)
StringFieldEditor.StringFieldEditor(String, String, Composite)
Method Detail |
---|
protected boolean checkState()
checkState
in class org.eclipse.jface.preference.StringFieldEditor
StringFieldEditor.checkState()
protected boolean doCheckState()
doCheckState
in class org.eclipse.jface.preference.StringFieldEditor
StringFieldEditor.doCheckState()
public URL getURL()
null
if the content is no valid URL.
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |