PageList. Displays page count and pages.
Does not provide actual paging. Instead, simply provides UIs to set the page count and page selections.
Type
- uiplugin
Property Summary
- buttonShowType
- Button type. [default: 1, 0, 2, 3, 4]
- class
- Same as the class property in HTML.
- deliImage
- Image of the delimiter
- deliImageStyle
- Style of the delimiter
- delimiter
- Delimiter
- deliWidth
- Width of the delimiter
- displayButtonType
- Page button type for the first or last page
- displayFormat
- Format to display index.
- displaySearchbox
- [default:false, true] Adds an input box to enter the page number.
- displaySelectedIndex
- Displays the current page number in the input box when displaySearchbox is "true". [default: false, true] (Options) "true": Display the current page number. "false" (Default) : Not display the current page number. </xmp></xmp>
- id
- Component ID
- leftPageBackImage
- Image of the button to move the page to the left as many as the pageSize
- leftPageBackImageClass
- Class of the button to move the page to the left as many as the pageSize
- leftPageImage
- Image of the button to move the page to the left by one page
- leftPageImageClass
- Class of the button to move the page to the left by one page
- naviType
- Navigation type.
- oneMoveButtonWidth
- Width of the button to move the page by one page
- pageSize
- Number of page indices on a single screen
- pagingType
- Page number displaying type when the remaining page is smaller than the pageSize.
- renderType
- Specifies the rendering layout. (Options) "table" "list" </xmp></xmp>
- rightPageBackImage
- Image of the button to move the page to the right by one page
- rightPageBackImageClass
- Class of the button to move the page to the right by one page
- rightPageImage
- Image of the button to move the page to the right
- rightPageImageClass
- Class of the button to move the page to the right
- shiftMoveButtonWidth
- Width of the button to move the page as many as the pageSize
- tabIndex
- The focusing order by the Tab key.
- title
- Same as the title property in HTML.
- useDelim
- Uses the delimiter.
- userData1
- User-defined property
- userData2
- User-defined property
- userData3
- User-defined property
Event Summary
- onchange
- Triggered upon changes in selection.
- onclick
- Triggered upon clicking of the PageList.
- oninputblur
- Triggered upon focusing out after the user’s entering the page number when the displaySearchbox is "true".
- onviewchange
- Triggered when the value on the list is changed through keyboard input or mouse clicking.
Method Summary
- addClass( className )
- Adds a CSS class to the component.
- bind( eventType , function )
- Dynamically allocate an event and the handler function to the component.
- changeClass( oldClassName , newClassName )
- Changes the class currently applied to the corresponding WebSquare component. (Supported in all WebSquare components.)
- focus( )
- Focuses the WebSquare component.
- getCount( )
- Returns the total page count of the PageList.
- getDisabled( )
- Returns the current value of the disabled property.
- getGenerator( )
- In case generated by the Generator component, returns the parent Generator object that created the component itself.
- getID( )
- Returns the ID of the WebSquare component.
- getInitStyle( CSS )
- Returns the initial style of the WebSquare component.
- getLabel( idx )
- Returns the label of the corresponding index.
- getOpacity( )
- Returns the opacity of the WebSquare component. (Supported in all WebSquare components.)
- getOriginalID( )
- Returns the originalID of the WebSquare component. (Supported in all WebSquare components.)
- getPageSize( )
- Gets the pageSize.
- getPluginName( )
- Returns the name of the WebSquare component.
- getPosition( positionName )
- Returns the position (left and top) of the WebSquare component. (Supported in all WebSquare components.)
- getReadOnly( )
- Returns the current value of the readOnly property.
- getScope( )
- For the child component of a scope="true" WFrame, returns the parent WFrame object. (Supported in all WebSquare components.)
- getScopeWindow( )
- For the child component of a scope="true" WFrame, returns the parent WFrame object. (Supported in all WebSquare components.)
- getSelectedIndex( )
- Returns the index of the selected item.
- getSize( sizeName )
- Sets the size (width and height) of the WebSquare component. (Supported in all WebSquare components.)
- getStyle( propertyName )
- Returns the CSS setting of the WebSquare component.
- getStyleValue( style )
- [deprecated]
- getTitle( )
- Returns the title of the WebSquare component.
- getUdcHome( )
- Returns the path of the UDC file including the file name in which the UDC object is defined. (Supported in all WebSquare components.)
- getUdcRoot( )
- Returns the path of the UDC file in which the UDC object is defined. (Supported in all WebSquare components.)
- getUserData( key )
- Returns the value set by setUserData or directly defined by the user in the XML file.
- hasClass( className )
- Checks whether the WebSquare component has a certain class.
- hide( )
- Hides the WebSquare component. (Supported in all WebSquare components.)
- moveLeft( )
- Reduces the selected index by "1".
- moveRight( )
- Reduces the selected index by "1".
- pageLeft( )
- Selects the first page on the previous page list.
- pageRight( )
- Selects the first page on the next page list.
- removeClass( className )
- Removes a class from the WebSquare component. (Supported in all WebSquare components.)
- setCount( count , flag )
- Sets the total page count of the PageList.
- setDisabled( disabled )
- Sets the disabled property of the WebSquare component.
- setEventPause( evList , flag )
- Pauses the event.
- setIdxClass( idx )
- Functions same as setSelectedindex.
- setInitStyle( property )
- Restores the initial style of the WebSquare component.
- setOpacity( value )
- Sets the opacity in the WebSquare component. (Supported in all WebSquare components.)
- setPosition( left , top , mode )
- Sets the position (left, top) of the WebSquare component.
- setReadOnly( readOnly )
- Sets the readOnly proprety of the WebSquare component.
- setSelectedIndex( idx )
- Sets the selected index of the page.
- setSize( width , height )
- Sets the size (width, height) of the WebSquare component.
- setStyle( propertyName , value )
- Sets the CSS of the WebSquare component.
- setUserData( key , value )
- Sets random data in the WebSquare component. (Supported in all WebSquare components.)
- setValue( value )
- Functions same as setSelectedindex.
- show( displayType )
- Shows the WebSquare component on the page. (Supported in all WebSquare components.)
- toggleClass( className )
- Adds or removes a CSS class to or from a WebSquare component. (Supported in all WebSquare components.)
- trigger( type , array )
- Triggers the specified event in the WebSquare component.
- unbind( type , function )
- Removes the specified event from the WebSquare component.
- visible( flag )
- [deprecated]
Property Detail
- buttonShowType
-
Button type. [default: 1, 0, 2, 3, 4]
(Previous/Next Pages, Previous/Last Lists, First/Last Page)(Options) 0: Previous/Next List (2 buttons) "1" (Default): Previous/Next Pages + Previous/Next Lists (4 buttons) "2" : Previous/Next Pages (2 buttons) "3" : Previous/Next Lists + First/Last Pages (4 buttons) "4" : First/Previous + Next/Last Page (4 buttons) - class
-
Same as the class property in HTML.
The class defined in the CSS file or style block can be applied. Multiple classes can be defined with being divided by blank space.
WebSquare5 Engine applies different classes to different components. By defining a common class, the common class can be applied to multiple components. - deliImage
-
Image of the delimiter
- deliImageStyle
-
Style of the delimiter
- delimiter
-
Delimiter
- deliWidth
-
Width of the delimiter
- displayButtonType
-
Page button type for the first or last page
(Options) "display" : Displays the tooltip. "auto" : Not display on the last page. "displayOver" : When the pageCount is higher than the pageSize. (If smaller, functions same as "display".) "autoOver" : When the pageCount is higher than the pageSize. (If smaller, functions same as "auto".) "autoHidden" : Not display as many as displayed on the first and the last pages. - displayFormat
-
Format to display index.
- displaySearchbox
-
[default:false, true] Adds an input box to enter the page number.
The page of the corresponding page number will be displayed.(Options) "true": Adds an input field. "false" (Default) : Not add an input field. - displaySelectedIndex
-
Displays the current page number in the input box when displaySearchbox is "true". [default: false, true]
(Options) "true": Display the current page number. "false" (Default) : 현재 페이지 번호를 표시하지 않음.
(Example) displaySearchbox="true" displaySelectedIndex="true" // Invalid page number (such as a negative number or a number outside the page count) will be automatically changed into the current page number. - id
-
Component ID
The component ID is allocated as a global object. The script can access each object through the component ID. - leftPageBackImage
-
Image of the button to move the page to the left as many as the pageSize
(Related Property) pageSize - leftPageBackImageClass
-
Class of the button to move the page to the left as many as the pageSize
(Related Property) pageSize - leftPageImage
-
Image of the button to move the page to the right by one page
- leftPageImageClass
-
Class of the button to move the page to the left by one page
- naviType
-
Navigation type.
Valie only when buttonShowType="2". pagingType will be ignored.(Options) "1" : Move the list. "2" : Select a page.
(Related Property) buttonShowType="2" - oneMoveButtonWidth
-
Width of the button to move the page by one page
- pageSize
-
Number of page indices on a single screen
- pagingType
-
Page number displaying type when the remaining page is smaller than the pageSize.
(Options) "1" : Adjusts to the pasingSize. "2" : Display only the remaining pages (!!!Warning!!!) If the buttonShowType is 3, pagingType=1 will not be supported. - renderType
-
Specifies the rendering layout.
(Options) "table" "list"
(Example) The use may differ depending on the renderType setting. renderType="table" : The default value.