|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.database.Field
planetj.database.field.StringOrNumberField
planetj.database.field.StringField
planetj.database.field.URLReferenceField
Wraps a field that is a url reference.
Nested Class Summary |
Nested classes inherited from class planetj.database.Field |
Field.FieldLocation |
Field Summary |
Fields inherited from class planetj.database.Field |
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_UNKNOWN |
Fields inherited from interface planetj.dataengine.security.IGuarded |
TYPE_ID_UNKNOWN, TYPE_NAME_FIELD, TYPE_NAME_SQLOPERATION, TYPE_SECURED_BY_LEVEL, TYPE_SECURED_BY_OPERATION, TYPE_UNSECURED |
Constructor Summary | |
URLReferenceField()
|
Method Summary | |
java.lang.String |
getLinkStyleClass()
Gets the HTML style class for the link |
java.lang.String |
getNewWindowProperties()
Gets the properties of the window to open the link's target in. |
java.lang.String |
getNewWindowTarget()
Gets the name of the window to open the link's target in. |
java.lang.String |
getURL(ExecutingContext ec)
Gets the URL for this URLReferenceField. |
java.lang.String |
getURLPrefix(ExecutingContext ec)
Gets the prefix which is prepended to this field's URL. |
protected java.lang.String |
getURLReference(ExecutingContext executingContext)
Gets the unmodified URL for this URLReferenceField. |
static short |
guessFieldClassProbability(FieldDescriptorRow pFDRow,
RowCollection sampleData)
Checks to see the probability that sample data containing the column for the given FieldDescriptor contains a URLReferenceField. |
boolean |
isOpenInNewWindow()
Check to see if this URL Reference should open in a new window. |
boolean |
isURLEncodingNeeded(ExecutingContext ec)
Tests if the URL need to be encoded so that chars with special meaning like spaces and pound signs are replaced with encoded versions. |
void |
setLinkStyleClass(java.lang.String style)
Sets the HTML style class for the link |
void |
setNewWindowProperties(java.lang.String target)
Sets the properties of the window to open the link's target in. |
void |
setNewWindowTarget(java.lang.String target)
Sets the name of the window to open the link's target in. |
void |
setURLEncodingNeeded(boolean encodingNeeded)
Sets if the URL need to be encoded so that chars with special meaning like spaces and pound signs are replaced with encoded versions. |
void |
setURLPrefix(java.lang.String uRLPrefix)
Sets the prefix which is prepended to this field's URL. |
Methods inherited from class planetj.database.field.StringField |
createObject, getCSVField, getExternalValidationKey, getValueAsBoolean, isNumber, isString, isValidLength, isValueEqual, setValue |
Methods inherited from class planetj.database.field.StringOrNumberField |
correctValue, getCopiedValue, getDefaultDatabaseValue, getSQLValue, isValueEqual, isValueGreaterThan, isValueLessThan |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public URLReferenceField()
Method Detail |
public java.lang.String getLinkStyleClass()
public java.lang.String getNewWindowProperties()
public java.lang.String getNewWindowTarget()
public java.lang.String getURL(ExecutingContext ec) throws CMException
CMException
public java.lang.String getURLPrefix(ExecutingContext ec)
protected java.lang.String getURLReference(ExecutingContext executingContext) throws CMException
CMException
public static short guessFieldClassProbability(FieldDescriptorRow pFDRow, RowCollection sampleData)
public boolean isOpenInNewWindow()
public boolean isURLEncodingNeeded(ExecutingContext ec)
public void setLinkStyleClass(java.lang.String style)
public void setNewWindowProperties(java.lang.String target)
public void setNewWindowTarget(java.lang.String target)
public void setURLEncodingNeeded(boolean encodingNeeded)
public void setURLPrefix(java.lang.String uRLPrefix)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |