|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.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 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 | |
String |
getLinkStyleClass()
Gets the HTML style class for the link |
String |
getNewWindowProperties()
Gets the properties of the window to open the link's target in. |
String |
getNewWindowTarget()
Gets the name of the window to open the link's target in. |
String |
getURL(ExecutingContext executingContext)
Gets the URL for this URLReferenceField. |
String |
getURLPrefix(ExecutingContext ec)
Gets the prefix which is prepended to this field's URL. |
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(String style)
Sets the HTML style class for the link |
void |
setNewWindowProperties(String target)
Sets the properties of the window to open the link's target in. |
void |
setNewWindowTarget(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(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, setValue |
Methods inherited from class planetj.database.field.StringOrNumberField |
getCopiedValue, getDefaultDatabaseValue, getSQLValue, isValueEqual, isValueGreaterThan, isValueLessThan |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public URLReferenceField()
Method Detail |
public String getLinkStyleClass()
public String getNewWindowProperties()
public String getNewWindowTarget()
public String getURL(ExecutingContext executingContext) throws CMException
CMException
public String getURLPrefix(ExecutingContext ec)
public static short guessFieldClassProbability(FieldDescriptorRow pFDRow, RowCollection sampleData)
public boolean isOpenInNewWindow()
public boolean isURLEncodingNeeded(ExecutingContext ec)
public void setLinkStyleClass(String style)
public void setNewWindowProperties(String target)
public void setNewWindowTarget(String target)
public void setURLEncodingNeeded(boolean encodingNeeded)
public void setURLPrefix(String uRLPrefix)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |