C# Class Feedling.FeedWin

Interaction logic for FeedWin.xaml
Afficher le fichier Open project: growse/Feedling Class Usage Examples

Méthodes publiques

Méthode Description
Deselect ( ) : void

Called by FeedWinManager when the feed is selected. Forces a redraw that removes the background a solid colour.

FeedWin ( FeedConfigItem feeditem ) : System

Constructor! Hurrah!

Select ( ) : void

Called by FeedWinManager when the feed is selected. Forces a redraw that paints the background a solid colour.

UpdateNow ( ) : void

Called to request the feed to update itself.

Méthodes protégées

Méthode Description
OnActivated ( EventArgs e ) : void

Private Methods

Méthode Description
GetFeedType ( FeedConfigItem feedConfigItem ) : void

Takes a given FeedConfiItem and iterates through all the available plugins to see if any of them can handle it.

NearestX ( double input ) : int

Takes a given coordinate and turns it into the nearest grid X position

PinToDesktop ( ) : void

Sends window to the bottom.

RedrawWin ( ) : void

Thread-safe window drawing method. Decides basically what colour everything should be, depending on the state of the window (selected, pinned etc.) Also sets the text of the textblocks to either the feed items, some sort of error, or random mumblings from Hamlet.

StartProcess ( object url ) : void

Called to load the browser and pass it the given url.

TextBlock_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
TextBlock_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
TextBlock_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
UnpinFromDesktop ( ) : void

Brings window back to the top.

Window_Loaded ( object sender, RoutedEventArgs e ) : void
Window_LocationChanged ( object sender, EventArgs e ) : void
Window_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Window_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Window_MouseRightButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Window_MouseRightButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Window_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
movehandle_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
rssfeed_Updated ( object sender, EventArgs e ) : void
thisinst_ToggleMoveMode ( bool obj ) : void

Method Details

Deselect() public méthode

Called by FeedWinManager when the feed is selected. Forces a redraw that removes the background a solid colour.
public Deselect ( ) : void
Résultat void

FeedWin() public méthode

Constructor! Hurrah!
public FeedWin ( FeedConfigItem feeditem ) : System
feeditem Feedling.Classes.FeedConfigItem
Résultat System

OnActivated() protected méthode

protected OnActivated ( EventArgs e ) : void
e System.EventArgs
Résultat void

Select() public méthode

Called by FeedWinManager when the feed is selected. Forces a redraw that paints the background a solid colour.
public Select ( ) : void
Résultat void

UpdateNow() public méthode

Called to request the feed to update itself.
public UpdateNow ( ) : void
Résultat void