C# Класс Filezoo, filezoo

Наследование: DrawingArea
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ActiveColor Color
BreadcrumbFontFamily string
BreadcrumbFontSize double
BreadcrumbMarginLeft double
BreadcrumbMarginRight double
BreadcrumbMarginTop double
Cancelled bool
CurrentDirEntry FSEntry,
CurrentDirPath string
FileInfoFontFamily string
FileNameFontFamily string
FilesMarginBottom double
FilesMarginLeft double
FilesMarginRight double
FilesMarginTop double
Height uint
InActiveColor Color
Prefixes string>.Dictionary
QuitAfterFirstFrame bool
Renderer FSDraw
Selection bool>.Dictionary
SizeField SizeHandler
SizeFields SizeHandler[]
SizeLabel string
SortDirection SortingDirection
SortField SortHandler
SortFields SortHandler[]
SortLabel string
ToolbarLabelFontFamily string
ToolbarLabelFontSize double
ToolbarTitleFontFamily string
ToolbarTitleFontSize double
ToolbarY double
Width uint
ZoomInSpeed double
ZoomOutSpeed double
Zoomer IZoomer

Открытые методы

Метод Описание
CheckUpdates ( object source, ElapsedEventArgs e ) : void
CheckZoomNavigation ( Context cr, uint width, uint height ) : void
ClearSelection ( ) : void
Click ( Context cr, uint width, uint height, double x, double y ) : void
ClickCurrentDir ( Context cr, uint width, uint height, double x, double y ) : void
ContextClick ( uint width, uint height, double x, double y ) : void
CopySelection ( string targetPath ) : void
CopySelectionTo ( string targetPath ) : void
CutSelection ( string targetPath ) : void
DragDataToCreateFileMenu ( string target, byte data ) : void
DragDataToFileMenu ( string targetFile, byte data ) : void
DragURIMenu ( string sources, string target ) : void
DrawBackground ( Context cr, uint width, uint height ) : void
DrawBreadcrumb ( Context cr, uint width ) : void
DrawClear ( Context cr, uint width, uint height ) : void
DrawCurrentDir ( Context cr, Rectangle targetBox ) : void
DrawFrame ( Context cr ) : void
DrawMainView ( Context cr, uint width, uint height ) : void
DrawSizeBar ( Context cr ) : void
DrawSortBar ( Context cr ) : void
DrawToolbars ( Context cr, uint width, uint height ) : void
Filezoo ( string dirname ) : System
FindHit ( uint width, uint height, double x, double y, double minHeight ) : ClickHit,
FindHits ( uint width, uint height, double x, double y ) : List
GetSelectionData ( ) : string
GoToParent ( ) : void
HandleSelectionData ( SelectionData sd, Gdk action, string targetPath ) : void
LongMonitor ( object source, ElapsedEventArgs ev ) : void
MoveSelectionTo ( string targetPath ) : void
OpenFile ( string path ) : void
PanBy ( Context cr, uint width, uint height, double dx, double dy ) : void
PasteSelection ( string targetPath ) : void
PreDrawCallback ( ) : void
RequestPreDraw ( ) : void
ResetZoom ( ) : void
SetClipboard ( string items ) : void
SetCurrentDir ( string dirname ) : void
SetCurrentDir ( string dirname, bool resetZoom ) : void
SetCursor ( Gdk state ) : void
ToggleSelection ( string path ) : void
ToggleSpan ( FSEntry start, FSEntry end ) : void
TrashSelection ( ) : void
UpdateLayout ( ) : void
ZoomAway ( Context cr, uint width, uint height, double x, double y ) : void
ZoomBy ( Context cr, uint width, uint height, double x, double y, double factor ) : void
ZoomToward ( Context cr, uint width, uint height, double x, double y ) : void
copyUris ( string uris, string targetPath ) : void
moveUris ( string uris, string targetPath ) : void

Защищенные методы

Метод Описание
OnButtonPressEvent ( Gdk e ) : bool
OnButtonReleaseEvent ( Gdk e ) : bool
OnExposeEvent ( Gdk e ) : bool
OnMotionNotifyEvent ( Gdk e ) : bool
OnScrollEvent ( Gdk e ) : bool

Приватные методы

Метод Описание
CheckRedraw ( ) : bool
ClickBreadcrumb ( Context cr, uint width, double x, double y ) : bool
ClickSizeBar ( Context cr, double x, double y ) : bool
ClickSortBar ( Context cr, double x, double y ) : bool
DrawEffects ( Context cr, uint w, uint h ) : bool
Transform ( Context cr, uint width, uint height ) : Rectangle
cosScale ( double n ) : double

Описание методов

CheckUpdates() публичный Метод

public CheckUpdates ( object source, ElapsedEventArgs e ) : void
source object
e ElapsedEventArgs
Результат void

CheckZoomNavigation() публичный Метод

public CheckZoomNavigation ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
Результат void

ClearSelection() публичный Метод

public ClearSelection ( ) : void
Результат void

Click() публичный Метод

public Click ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
Результат void

ClickCurrentDir() публичный Метод

public ClickCurrentDir ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
Результат void

ContextClick() публичный Метод

public ContextClick ( uint width, uint height, double x, double y ) : void
width uint
height uint
x double
y double
Результат void

CopySelection() публичный Метод

public CopySelection ( string targetPath ) : void
targetPath string
Результат void

CopySelectionTo() публичный Метод

public CopySelectionTo ( string targetPath ) : void
targetPath string
Результат void

CutSelection() публичный Метод

public CutSelection ( string targetPath ) : void
targetPath string
Результат void

DragDataToCreateFileMenu() публичный Метод

public DragDataToCreateFileMenu ( string target, byte data ) : void
target string
data byte
Результат void

DragDataToFileMenu() публичный Метод

public DragDataToFileMenu ( string targetFile, byte data ) : void
targetFile string
data byte
Результат void

DragURIMenu() публичный Метод

public DragURIMenu ( string sources, string target ) : void
sources string
target string
Результат void

DrawBackground() публичный Метод

public DrawBackground ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
Результат void

DrawBreadcrumb() публичный Метод

public DrawBreadcrumb ( Context cr, uint width ) : void
cr Context
width uint
Результат void

DrawClear() публичный Метод

public DrawClear ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
Результат void

DrawCurrentDir() публичный Метод

public DrawCurrentDir ( Context cr, Rectangle targetBox ) : void
cr Context
targetBox Rectangle
Результат void

DrawFrame() публичный Метод

public DrawFrame ( Context cr ) : void
cr Context
Результат void

DrawMainView() публичный Метод

public DrawMainView ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
Результат void

DrawSizeBar() публичный Метод

public DrawSizeBar ( Context cr ) : void
cr Context
Результат void

DrawSortBar() публичный Метод

public DrawSortBar ( Context cr ) : void
cr Context
Результат void

DrawToolbars() публичный Метод

public DrawToolbars ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
Результат void

Filezoo() публичный Метод

public Filezoo ( string dirname ) : System
dirname string
Результат System

FindHit() публичный Метод

public FindHit ( uint width, uint height, double x, double y, double minHeight ) : ClickHit,
width uint
height uint
x double
y double
minHeight double
Результат ClickHit,

FindHits() публичный Метод

public FindHits ( uint width, uint height, double x, double y ) : List
width uint
height uint
x double
y double
Результат List

GetSelectionData() публичный Метод

public GetSelectionData ( ) : string
Результат string

GoToParent() публичный Метод

public GoToParent ( ) : void
Результат void

HandleSelectionData() публичный Метод

public HandleSelectionData ( SelectionData sd, Gdk action, string targetPath ) : void
sd SelectionData
action Gdk
targetPath string
Результат void

LongMonitor() публичный Метод

public LongMonitor ( object source, ElapsedEventArgs ev ) : void
source object
ev ElapsedEventArgs
Результат void

MoveSelectionTo() публичный Метод

public MoveSelectionTo ( string targetPath ) : void
targetPath string
Результат void

OnButtonPressEvent() защищенный Метод

protected OnButtonPressEvent ( Gdk e ) : bool
e Gdk
Результат bool

OnButtonReleaseEvent() защищенный Метод

protected OnButtonReleaseEvent ( Gdk e ) : bool
e Gdk
Результат bool

OnExposeEvent() защищенный Метод

protected OnExposeEvent ( Gdk e ) : bool
e Gdk
Результат bool

OnMotionNotifyEvent() защищенный Метод

protected OnMotionNotifyEvent ( Gdk e ) : bool
e Gdk
Результат bool

OnScrollEvent() защищенный Метод

protected OnScrollEvent ( Gdk e ) : bool
e Gdk
Результат bool

OpenFile() публичный Метод

public OpenFile ( string path ) : void
path string
Результат void

PanBy() публичный Метод

public PanBy ( Context cr, uint width, uint height, double dx, double dy ) : void
cr Context
width uint
height uint
dx double
dy double
Результат void

PasteSelection() публичный Метод

public PasteSelection ( string targetPath ) : void
targetPath string
Результат void

PreDrawCallback() публичный Метод

public PreDrawCallback ( ) : void
Результат void

RequestPreDraw() публичный Метод

public RequestPreDraw ( ) : void
Результат void

ResetZoom() публичный Метод

public ResetZoom ( ) : void
Результат void

SetClipboard() публичный Метод

public SetClipboard ( string items ) : void
items string
Результат void

SetCurrentDir() публичный Метод

public SetCurrentDir ( string dirname ) : void
dirname string
Результат void

SetCurrentDir() публичный Метод

public SetCurrentDir ( string dirname, bool resetZoom ) : void
dirname string
resetZoom bool
Результат void

SetCursor() публичный Метод

public SetCursor ( Gdk state ) : void
state Gdk
Результат void

ToggleSelection() публичный Метод

public ToggleSelection ( string path ) : void
path string
Результат void

ToggleSpan() публичный Метод

public ToggleSpan ( FSEntry start, FSEntry end ) : void
start FSEntry
end FSEntry
Результат void

TrashSelection() публичный Метод

public TrashSelection ( ) : void
Результат void

UpdateLayout() публичный Метод

public UpdateLayout ( ) : void
Результат void

ZoomAway() публичный Метод

public ZoomAway ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
Результат void

ZoomBy() публичный Метод

public ZoomBy ( Context cr, uint width, uint height, double x, double y, double factor ) : void
cr Context
width uint
height uint
x double
y double
factor double
Результат void

ZoomToward() публичный Метод

public ZoomToward ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
Результат void

copyUris() публичный Метод

public copyUris ( string uris, string targetPath ) : void
uris string
targetPath string
Результат void

moveUris() публичный Метод

public moveUris ( string uris, string targetPath ) : void
uris string
targetPath string
Результат void

Описание свойств

ActiveColor публичное свойство

public Color ActiveColor
Результат Color

BreadcrumbFontFamily публичное свойство

public string BreadcrumbFontFamily
Результат string

BreadcrumbFontSize публичное свойство

public double BreadcrumbFontSize
Результат double

BreadcrumbMarginLeft публичное свойство

public double BreadcrumbMarginLeft
Результат double

BreadcrumbMarginRight публичное свойство

public double BreadcrumbMarginRight
Результат double

BreadcrumbMarginTop публичное свойство

public double BreadcrumbMarginTop
Результат double

Cancelled публичное свойство

public bool Cancelled
Результат bool

CurrentDirEntry публичное свойство

public FSEntry, CurrentDirEntry
Результат FSEntry,

CurrentDirPath публичное свойство

public string CurrentDirPath
Результат string

FileInfoFontFamily публичное свойство

public string FileInfoFontFamily
Результат string

FileNameFontFamily публичное свойство

public string FileNameFontFamily
Результат string

FilesMarginBottom публичное свойство

public double FilesMarginBottom
Результат double

FilesMarginLeft публичное свойство

public double FilesMarginLeft
Результат double

FilesMarginRight публичное свойство

public double FilesMarginRight
Результат double

FilesMarginTop публичное свойство

public double FilesMarginTop
Результат double

Height публичное свойство

public uint Height
Результат uint

InActiveColor публичное свойство

public Color InActiveColor
Результат Color

Prefixes публичное свойство

public Dictionary Prefixes
Результат string>.Dictionary

QuitAfterFirstFrame публичное свойство

public bool QuitAfterFirstFrame
Результат bool

Renderer публичное свойство

public FSDraw Renderer
Результат FSDraw

Selection публичное свойство

public Dictionary Selection
Результат bool>.Dictionary

SizeField публичное свойство

public SizeHandler SizeField
Результат SizeHandler

SizeFields публичное свойство

public SizeHandler[] SizeFields
Результат SizeHandler[]

SizeLabel публичное свойство

public string SizeLabel
Результат string

SortDirection публичное свойство

public SortingDirection SortDirection
Результат SortingDirection

SortField публичное свойство

public SortHandler SortField
Результат SortHandler

SortFields публичное свойство

public SortHandler[] SortFields
Результат SortHandler[]

SortLabel публичное свойство

public string SortLabel
Результат string

ToolbarLabelFontFamily публичное свойство

public string ToolbarLabelFontFamily
Результат string

ToolbarLabelFontSize публичное свойство

public double ToolbarLabelFontSize
Результат double

ToolbarTitleFontFamily публичное свойство

public string ToolbarTitleFontFamily
Результат string

ToolbarTitleFontSize публичное свойство

public double ToolbarTitleFontSize
Результат double

ToolbarY публичное свойство

public double ToolbarY
Результат double

Width публичное свойство

public uint Width
Результат uint

ZoomInSpeed публичное свойство

public double ZoomInSpeed
Результат double

ZoomOutSpeed публичное свойство

public double ZoomOutSpeed
Результат double

Zoomer публичное свойство

public IZoomer Zoomer
Результат IZoomer