|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Form for holding visualisation control and manipulating it
Field Summary | |
---|---|
System.Drawing.Color | BackFingerColour |
System.Windows.Forms.Button | btnReSync |
System.Windows.Forms.Button | btnSetRefreshRate |
System.Drawing.Color | CacheColour |
System.Drawing.Pen | CacheHitPen |
int | cacheSize |
System.ComponentModel.Container | components |
System.Drawing.Color | DefaultColour |
int | exPointerSize |
System.Drawing.Color | FingerColour |
int | fingerSize |
Naanou.Indexer | indexer |
System.Drawing.Color | KeyStoreColour |
System.Drawing.Pen | KeyStorePen |
System.Windows.Forms.Label | label1 |
double | mappingRatio |
System.Collections.Hashtable | nodeToDot |
System.Windows.Forms.NumericUpDown | numericUpDown1 |
int | pointerSize |
System.Drawing.Color | PredColour |
System.Drawing.Color | SuccColour |
Naanou.Vis.Viewer | viewer |
Fields inherited from class System.Windows.Forms.ScrollableControl |
---|
scrollPosition |
Fields inherited from class System.Windows.Forms.Control |
---|
window |
Constructor Summary | |
---|---|
frmVis() Constructor |
Properties inherited from class System.Windows.Forms.Form |
---|
AcceptButton, ActiveMdiChild, AllowTransparency, AutoScale, AutoScaleBaseSize, AutoScroll, BackColor, CancelButton, ClientSize, ControlBox, CreateParams, DefaultImeMode, DefaultSize, DesktopBounds, DesktopLocation, DialogResult, FormBorderStyle, HelpButton, Icon, IsMdiChild, IsMdiContainer, IsRestrictedWindow, KeyPreview, MaximizeBox, MaximizedBounds, MaximumSize, MdiChildren, MdiParent, Menu, MergedMenu, MinimizeBox, MinimumSize, Modal, Opacity, OwnedForms, Owner, ShowInTaskbar, Size, SizeGripStyle, StartPosition, TabIndex, TopLevel, TopMost, TransparencyKey, WindowState |
Properties inherited from class System.Windows.Forms.ContainerControl |
---|
ActiveControl, BindingContext, ParentForm |
Properties inherited from class System.Windows.Forms.ScrollableControl |
---|
AutoScrollMargin, AutoScrollMinSize, AutoScrollPosition, DisplayRectangle, DockPadding, HScroll, VScroll |
Properties inherited from class System.Windows.Forms.Control |
---|
AccessibilityObject, AccessibleDefaultActionDescription, AccessibleDescription, AccessibleName, AccessibleRole, AllowDrop, Anchor, BackgroundImage, Bottom, Bounds, CanFocus, CanSelect, Capture, CausesValidation, ClientRectangle, CompanyName, ContainsFocus, ContextMenu, Controls, Created, Cursor, DataBindings, Disposing, Dock, Enabled, Focused, Font, FontHeight, ForeColor, Handle, HasChildren, Height, ImeMode, InvokeRequired, IsAccessible, IsDisposed, IsHandleCreated, Left, Location, Name, Parent, ProductName, ProductVersion, RecreatingHandle, Region, RenderRightToLeft, ResizeRedraw, Right, RightToLeft, ShowFocusCues, ShowKeyboardCues, Site, TabStop, Tag, Text, Top, TopLevelControl, Visible, Width, WindowTarget |
Properties inherited from class System.ComponentModel.Component |
---|
Container, DesignMode, Events |
Method Summary | |
---|---|
void | AddCacheEntries(Naanou.LookupService.NodeAddress[] entries) |
void | AddFingerEntries(Naanou.LookupService.NodeAddress[] entries, bool forward) |
void | btnFPS_Click(object sender, System.EventArgs e) |
void | btnReSync_Click(object sender, System.EventArgs e) |
void |
Dispose(bool disposing) Clean up any resources being used. |
void | frmVis_Activated(object sender, System.EventArgs e) |
void | frmVis_Closing(object sender, System.ComponentModel.CancelEventArgs e) |
void | frmVis_Deactivate(object sender, System.EventArgs e) |
void | frmVis_Load(object sender, System.EventArgs e) |
void | frmVis_Resize(object sender, System.EventArgs e) |
Naanou.Vis.Dot |
GetDot(Naanou.Common.Address address) Looks up an existing dot for an address, or creates a new one. Returns null if the address is empty |
Naanou.Vis.Dot | GetDot(string name, Naanou.Common.Hash hash) |
double |
IdToDegrees(Naanou.Common.Hash id) Maps node ids to the visualisation space |
void |
InitializeComponent() Required method for Designer support - do not modify the contents of this method with the code editor. |
void | OnCacheAdded(object sender, Naanou.LookupService.NodeEventArgs args) |
void | OnCacheHit(object sender, Naanou.LookupService.NodeEventArgs args) |
void | OnFingerKeyChanged(object sender, Naanou.LookupService.FingerKeyChangeArgs args) |
void | OnKeyAdded(object sender, Naanou.LookupService.KeyAddedEventArgs args) |
void | OnPredecessorChange(Naanou.LookupService.Node sender, Naanou.LookupService.AddressChangeArgs args) |
void | OnSuccessorChange(Naanou.LookupService.Node sender, Naanou.LookupService.AddressChangeArgs args) |
void | OnUpDownChange(object sender, System.EventArgs e) |
System.Drawing.Pen | RandomPen() |
void | ReSync() |
Methods inherited from class System.Windows.Forms.ContainerControl |
---|
IContainerControl.ActivateControl, OnControlRemoved, ProcessDialogChar, ProcessMnemonic, Validate |
Methods inherited from class System.Windows.Forms.ScrollableControl |
---|
GetScrollState, OnLayout, OnMouseWheel, ScrollControlIntoView, SetAutoScrollMargin, SetDisplayRectLocation, SetScrollState |
Methods inherited from class System.ComponentModel.Component |
---|
Dispose, Finalize, GetService |
Methods inherited from class System.MarshalByRefObject |
---|
CreateObjRef, GetLifetimeService, InitializeLifetimeService |
Methods inherited from class System.Object |
---|
Equals, GetHashCode, GetType, MemberwiseClone |
Events inherited from class System.Windows.Forms.Form |
---|
Activated, Closed, Closing, Deactivate, InputLanguageChanged, InputLanguageChanging, Load, MaximizedBoundsChanged, MaximumSizeChanged, MdiChildActivate, MenuComplete, MenuStart, MinimumSizeChanged |
Events inherited from class System.Windows.Forms.Control |
---|
BackColorChanged, BackgroundImageChanged, BindingContextChanged, CausesValidationChanged, ChangeUICues, Click, ContextMenuChanged, ControlAdded, ControlRemoved, CursorChanged, DockChanged, DoubleClick, DragDrop, DragEnter, DragLeave, DragOver, EnabledChanged, Enter, FontChanged, ForeColorChanged, GiveFeedback, GotFocus, HandleCreated, HandleDestroyed, HelpRequested, ImeModeChanged, Invalidated, KeyDown, KeyPress, KeyUp, Layout, Leave, LocationChanged, LostFocus, MouseDown, MouseEnter, MouseHover, MouseLeave, MouseMove, MouseUp, MouseWheel, Move, Paint, ParentChanged, QueryAccessibilityHelp, QueryContinueDrag, Resize, RightToLeftChanged, SizeChanged, StyleChanged, SystemColorsChanged, TabIndexChanged, TabStopChanged, TextChanged, Validated, Validating, VisibleChanged |
Events inherited from class System.ComponentModel.Component |
---|
Disposed |
Field Detail |
---|
private System.Drawing.Color BackFingerColour
private System.Windows.Forms.Button btnReSync
private System.Windows.Forms.Button btnSetRefreshRate
private System.Drawing.Color CacheColour
private System.Drawing.Pen CacheHitPen
private int cacheSize
private System.ComponentModel.Container components
private System.Drawing.Color DefaultColour
private int exPointerSize
private System.Drawing.Color FingerColour
private int fingerSize
private Naanou.Indexer indexer
private System.Drawing.Color KeyStoreColour
private System.Drawing.Pen KeyStorePen
private System.Windows.Forms.Label label1
private double mappingRatio
private System.Collections.Hashtable nodeToDot
private System.Windows.Forms.NumericUpDown numericUpDown1
private int pointerSize
private System.Drawing.Color PredColour
private System.Drawing.Color SuccColour
private Naanou.Vis.Viewer viewer
Constructor Detail |
---|
public frmVis()
Constructor
Method Detail |
---|
public void AddCacheEntries(Naanou.LookupService.NodeAddress[] entries)
public void AddFingerEntries(Naanou.LookupService.NodeAddress[] entries, bool forward)
private void btnFPS_Click(object sender, System.EventArgs e)
private void btnReSync_Click(object sender, System.EventArgs e)
protected void Dispose(bool disposing)
Clean up any resources being used.
private void frmVis_Activated(object sender, System.EventArgs e)
private void frmVis_Closing(object sender, System.ComponentModel.CancelEventArgs e)
private void frmVis_Deactivate(object sender, System.EventArgs e)
private void frmVis_Load(object sender, System.EventArgs e)
private void frmVis_Resize(object sender, System.EventArgs e)
private Naanou.Vis.Dot GetDot(Naanou.Common.Address address)
Looks up an existing dot for an address, or creates a new one. Returns null if the address is empty
Parameters:
address
- private Naanou.Vis.Dot GetDot(string name, Naanou.Common.Hash hash)
private double IdToDegrees(Naanou.Common.Hash id)
Maps node ids to the visualisation space
Parameters:
id
- private void InitializeComponent()
Required method for Designer support - do not modify the contents of this method with the code editor.
private void OnCacheAdded(object sender, Naanou.LookupService.NodeEventArgs args)
private void OnCacheHit(object sender, Naanou.LookupService.NodeEventArgs args)
public void OnFingerKeyChanged(object sender, Naanou.LookupService.FingerKeyChangeArgs args)
private void OnKeyAdded(object sender, Naanou.LookupService.KeyAddedEventArgs args)
public void OnPredecessorChange(Naanou.LookupService.Node sender, Naanou.LookupService.AddressChangeArgs args)
public void OnSuccessorChange(Naanou.LookupService.Node sender, Naanou.LookupService.AddressChangeArgs args)
private void OnUpDownChange(object sender, System.EventArgs e)
private System.Drawing.Pen RandomPen()
private void ReSync()
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |