string
getAlternateText
()
boolean
getCausesValidation
()
string
getCoordinates
()
Redefined in descendants as:
string
getPostBackValue
()
string
getShape
()
Redefined in descendants as:
string
getValidationGroup
()
Returns a viewstate value.
This function is very useful in defining getter functions for component properties that must be kept in viewstate.
mixed
getViewState
(string $key, [mixed $defaultValue = null])
-
string
$key: the name of the viewstate value to be returned
-
mixed
$defaultValue: the default value. If $key is not found in viewstate, $defaultValue will be returned
void
setAccessKey
(string $value)
-
string
$value: the access key that allows you to quickly navigate to the HotSpot region.
void
setAlternateText
(string $value)
-
string
$value: the alternate text to display for a HotSpot object.
void
setCausesValidation
(boolean $value)
-
boolean
$value: whether postback event trigger by this hotspot will cause input validation
void
setHotSpotMode
(string $value)
-
string
$value: the behavior of a HotSpot object when it is clicked. Valid values include 'NotSet','Navigate','PostBack','Inactive'.
void
setNavigateUrl
(string $value)
-
string
$value: the URL to navigate to when a HotSpot object is clicked.
void
setPostBackValue
(string $value)
-
string
$value: a value that is post back when the HotSpot is clicked.
void
setTabIndex
(integer $value)
-
integer
$value: the tab index of the HotSpot region.
void
setTarget
(string $value)
-
string
$value: the target window or frame to display the new page when the HotSpot region is clicked.
void
setValidationGroup
(string $value)
-
string
$value: the group of validators which the hotspot causes validation upon postback
Sets a viewstate value.
This function is very useful in defining setter functions for control properties that must be kept in viewstate. Make sure that the viewstate value must be serializable and unserializable.
void
setViewState
(string $key, mixed $value, [mixed $defaultValue = null])
-
string
$key: the name of the viewstate value
-
mixed
$value: the viewstate value to be set
-
mixed
$defaultValue: default value. If $value===$defaultValue, the item will be cleared from the viewstate.
Inherited Methods
Inherited From TComponent
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__get()
TComponent::__set()