net.sourceforge.rssowl.controller.properties
Class SortOrderPropertiers

java.lang.Object
  extended bynet.sourceforge.rssowl.controller.properties.PropertyPage
      extended bynet.sourceforge.rssowl.controller.properties.SortOrderPropertiers

public class SortOrderPropertiers
extends PropertyPage

Class displays a PropertyPage to set the sort order that RSSOwl should use for all feeds.

Version:
1.1.3
Author:
Benjamin Pasero

Field Summary
(package private)  org.eclipse.swt.widgets.Button doNotSortCheck
           
(package private)  org.eclipse.swt.widgets.Button downButton
           
(package private)  org.eclipse.swt.widgets.List sortOrderList
           
(package private)  org.eclipse.swt.widgets.Button upButton
           
 
Fields inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage
apply, composite, dialogFont, errorMessageLabel, parent, propertyChangeManager, restore, rssOwlGui
 
Constructor Summary
SortOrderPropertiers(org.eclipse.swt.widgets.Composite parent)
          Instatiate a new SortOrderProperties PropertyPage
 
Method Summary
 void applyButtonPressed()
          The apply button has been pressed
protected  void initComponents()
          Init all components
private  Vector listToVector()
          Create a vector from the sort order list
(package private)  void moveListElementDown()
          Replace the selected item with the item beyond it.
(package private)  void moveListElementUp()
          Replace the selected item with the item above it.
protected  void restoreButtonPressed()
          The restore button has been pressed
(package private)  void setAutoSortControlsState(boolean enabled)
          Enable / Disable the sort order list and the buttons
 void updatePropertiesChangeManager()
          Update the temporary settings holder PropertiesChangeManager
 
Methods inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage
createButtons, createComposite, dispose, getPropertyChangeManager, initPropertyChangeManager, setApplyButtonState, setButtonLayoutData, setButtonLayoutData, setErrorMessage, setRestoreButtonState, setSuccessMessage, setWarningMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doNotSortCheck

org.eclipse.swt.widgets.Button doNotSortCheck

downButton

org.eclipse.swt.widgets.Button downButton

sortOrderList

org.eclipse.swt.widgets.List sortOrderList

upButton

org.eclipse.swt.widgets.Button upButton
Constructor Detail

SortOrderPropertiers

public SortOrderPropertiers(org.eclipse.swt.widgets.Composite parent)
Instatiate a new SortOrderProperties PropertyPage

Parameters:
parent - Composite's parent
Method Detail

applyButtonPressed

public void applyButtonPressed()
Description copied from class: PropertyPage
The apply button has been pressed

Specified by:
applyButtonPressed in class PropertyPage
See Also:
PropertyPage.applyButtonPressed()

updatePropertiesChangeManager

public void updatePropertiesChangeManager()
Description copied from class: PropertyPage
Update the temporary settings holder PropertiesChangeManager

Specified by:
updatePropertiesChangeManager in class PropertyPage
See Also:
PropertyPage.updatePropertiesChangeManager()

listToVector

private Vector listToVector()
Create a vector from the sort order list

Returns:
Vector All items from the list

initComponents

protected void initComponents()
Description copied from class: PropertyPage
Init all components

Specified by:
initComponents in class PropertyPage
See Also:
PropertyPage.initComponents()

restoreButtonPressed

protected void restoreButtonPressed()
Description copied from class: PropertyPage
The restore button has been pressed

Specified by:
restoreButtonPressed in class PropertyPage
See Also:
PropertyPage.restoreButtonPressed()

moveListElementDown

void moveListElementDown()
Replace the selected item with the item beyond it.


moveListElementUp

void moveListElementUp()
Replace the selected item with the item above it.


setAutoSortControlsState

void setAutoSortControlsState(boolean enabled)
Enable / Disable the sort order list and the buttons

Parameters:
enabled - If TRUE controls become enabled, otherwise disabled


RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo