TWebPageComponent
Abstract base class for components within a web page that can be rendered to a
THtmlElement
.
Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TWebPageComponent |
Source
WebSite.Page.Component.pas (34)
Description
Represents a node in a hierarchy of components that can occur on a web page. Components have a Name
that should be unique among its sibling components. A web page component
usually is rendered within the context of its containing web page using a call to Render
. However, every component also is directly reachable through its own URI based on
its containing components and web page. A component can implement CreateRequestHandler
to handle requests that are directed to its own URI.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | public | TText | Name | |
Instance | public | TControlMode | Mode |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | protected | SetCaption(Value: TDocumentNode) | ||
Instance | protected | TDocumentNode | GetCaption() | |
Instance | protected | TBoolean | GetInputOK() | |
Instance | protected | SetInputOK(Value: TBoolean) | ||
Instance | public | Create() | ||
Instance | public | THtmlElement | Render(Request: TWebSiteRequest) | |
Instance | public | LoadFromParameters(Parameters: TDictionary) | ||
Instance | public | CheckInput(Problems: TFormProblems) | ||
Instance | public | TWebSiteRequestHandler | CreateRequestHandler(Request: TWebSiteRequest) | |
Instance | public | TIterator<TWebPageComponent> | CreateChildIterator() | |
Instance | public | TIterator<TWebPageComponent> | CreateSubtreeIterator(Order: TTreeVerticalOrder) | |
Instance | public | TWebPageComponent | GetDescendantWithName(Name: TText) |