Generic Text Panel Components provide a designer with the means to display additional, custom-defined columns of sample field data in the Pollstar100 UI. Additional sample field data may be either be plain text format, HTML text format, numeric format or even file-based.

For example, consider a Pollstar100 Application for displaying content relating to a list of books. The designer may choose to use the pre-defined Descriptions Panel to display the names of books and then define a Generic Text Panel instance for displaying the names of the authors. Generic Text Panel Components might also be used to provide hidden fields containing key-word lists that can be used in conjunction with Generic Filter Controls.

Any number of Generic Text Panel Components may be defined within a Pollstar100 Application.


 
 
Custom XML Tag  
 
Use the following XML tag to define a Generic Text Panel Component within your Custom XML file:  
 
 
<GenericTextPanel />  
 
 
 
 
 
 
Common Panel Properties  
 
Generic Text Panel Components inherit the following common Panel Properties:  
 
Component Visibility Properties  
General Panel Properties  
Location Properties  
Margins Properties  
Image Properties  
Opacity Properties  
 
 
 
 
Specialised Properties  
 
In addition to the above, Generic Text Panel Component also inherit the following specialised Properties:  
 
Unique ID  
Use this field to provide a unique ID for a specific instance of the Generic Text Panel Component.
 
 
Sample Field ID  
Use this Property to associate a Generic Text Panel instance with a custom-defined Sample Data field containing text or numeric data.  
 
Counting Hits  
Use this Property in order to record the number of hits received for a HTML Description related URL.  
 
Text Properties  
Use these Properties in order to set and format the Panel text data.  
 
Panel Text Rotation  
Use this Property to specify an angle of rotation for the Panel text data.  
 
HTML Text  
Use this Property to specify whether the text data is plain-text or supports HTML format.  
 
File Based Text
Use this Property to specify that the text data for this Component is contained within an external file.
 
CSS File  
Use this Property to specify the location of an external CSS File used to format this Components' text data.  
 
Sample Field Data Type  
Use this Property to override the default filtering mechanism used for the associated Sample Data field.  
 
 
 
 
Default Property Values  
 
The following default Property values are defined for Generic Text Panel Components:  
 
Property Name
Default Value
Visible
true
X
undefined
Y
undefined
Width
undefined
Height
undefined
Margins
0, 0, 0, 0
Scale
70
Horizontal
false
TextFromFile
false
Text
undefined
TextHTML
true
TextFont
Times New Roman
TextAlign
left
TextColour
0
TextSize
12
TextItalic
false
TextBold
false
TextUnderline
false
TextBorder
false
TextRotation
0
CSSFile
undefined
Image
default
Opacity
100
BorderRadius
0
BorderColour
0
BorderWeight
0
Colours
undefined
CountHits
false
UniqueID
undefined
SampleFieldID
undefined
SampleFieldDataType
text
 
 
 
 
 
Related Topics  
 
Using Generic Components To Extend the UI