C# Класс GenericWindow, chronojump

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

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

Свойство Тип Описание
DestroyOnAccept bool
HideOnAccept bool
TreeviewSelectedUniqueID int
Type Types,
nameUntranslated string
uniqueID int

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

Метод Описание
AddOptionsToComboCheckBoxesOptions ( ArrayList newOptions ) : void
CreateComboCheckBoxes ( ) : void
Delete_row_accepted ( ) : void
DeletingExerciseHideSomeWidgets ( ) : void
GenericWindow ( string textHeader ) : System
GenericWindowBoxIsNull ( ) : bool
GetCell ( int uniqueID, int column ) : int
GetCheckboxStatus ( int uniqueID ) : bool
GetColumn ( int column, bool onlyActive ) : string[]
HideAndNull ( ) : void
MarkActiveCurves ( string checkboxes ) : void
RemoveSelectedRow ( ) : void
ResetComboCheckBoxesOptions ( ) : void
Row_add ( string row ) : void
SelectRowWithID ( int colNum, int id ) : void
SetButtonAcceptLabel ( string str ) : void
SetButtonAcceptSensitive ( bool show ) : void
SetButtonCancelLabel ( string str ) : void
SetButtonMiddleLabel ( string str ) : void
SetComboLabel ( string l ) : void
SetComboValues ( string values, string current ) : void
SetLabelError ( string text ) : void
SetSize ( int width, int height ) : void
SetSpin2Range ( int min, int max ) : void
SetSpin2Value ( int num ) : void
SetSpin3Range ( int min, int max ) : void
SetSpin3Value ( int num ) : void
SetSpinDouble2Increments ( double min, double max ) : void
SetSpinDouble2Range ( double min, double max ) : void
SetSpinDouble2Value ( double num ) : void
SetSpinRange ( double min, double max ) : void
SetSpinRange ( int min, int max ) : void
SetSpinValue ( int num ) : void
SetTextview ( string str ) : void
SetTreeview ( string columnsString, bool addCheckbox, ArrayList data, ArrayList myNonSensitiveRows, Constants, contextMenu, bool activateRowAcceptsWindow ) : void
SetTreeviewSize ( int width, int height ) : void
Show ( bool showNow, string textHeader, ArrayList array ) : GenericWindow,
Show ( string textHeader, Constants, stuff ) : GenericWindow,
ShowButtonCancel ( bool show ) : void
ShowButtonDelete ( bool show ) : void
ShowEditRow ( bool show ) : void
ShowNow ( ) : void
ShowTextview ( ) : void
ShowTreeview ( ) : void
TreeviewSelectedRowID ( ) : int
hideWidgets ( ) : void
on_edit_selected_done_update_treeview ( ) : void
on_row_double_clicked ( object o, Gtk args ) : void
showWidget ( Constants, stuff ) : void
showWidgetsPowerful ( ArrayList widgetArray ) : void

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

Метод Описание
ItemToggled ( object o, Gtk.ToggledArgs args ) : void
createCheckboxes ( TreeView tv ) : void
getStore ( int columns, bool addCheckbox ) : TreeStore
markSelected ( string selected ) : void
on_button_accept_clicked ( object o, EventArgs args ) : void
on_button_cancel_clicked ( object o, EventArgs args ) : void
on_combo_all_none_selected_changed ( object o, EventArgs args ) : void
on_delete_event ( object o, Gtk.DeleteEventArgs args ) : void
on_delete_selected_clicked ( object o, EventArgs args ) : void
on_edit_selected_clicked ( object o, EventArgs args ) : void
on_treeview_button_release_event ( object o, Gtk.ButtonReleaseEventArgs args ) : void
on_treeview_cursor_changed ( object o, EventArgs args ) : void
prepareHeaders ( string columnsString, bool addCheckbox ) : void
treeviewContextMenu ( ) : void
treeviewRemoveColumns ( ) : void

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

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

public AddOptionsToComboCheckBoxesOptions ( ArrayList newOptions ) : void
newOptions ArrayList
Результат void

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

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

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

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

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

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

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

public GenericWindow ( string textHeader ) : System
textHeader string
Результат System

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

public GenericWindowBoxIsNull ( ) : bool
Результат bool

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

public GetCell ( int uniqueID, int column ) : int
uniqueID int
column int
Результат int

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

public GetCheckboxStatus ( int uniqueID ) : bool
uniqueID int
Результат bool

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

public GetColumn ( int column, bool onlyActive ) : string[]
column int
onlyActive bool
Результат string[]

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

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

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

public MarkActiveCurves ( string checkboxes ) : void
checkboxes string
Результат void

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

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

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

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

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

public Row_add ( string row ) : void
row string
Результат void

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

public SelectRowWithID ( int colNum, int id ) : void
colNum int
id int
Результат void

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

public SetButtonAcceptLabel ( string str ) : void
str string
Результат void

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

public SetButtonAcceptSensitive ( bool show ) : void
show bool
Результат void

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

public SetButtonCancelLabel ( string str ) : void
str string
Результат void

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

public SetButtonMiddleLabel ( string str ) : void
str string
Результат void

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

public SetComboLabel ( string l ) : void
l string
Результат void

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

public SetComboValues ( string values, string current ) : void
values string
current string
Результат void

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

public SetLabelError ( string text ) : void
text string
Результат void

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

public SetSize ( int width, int height ) : void
width int
height int
Результат void

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

public SetSpin2Range ( int min, int max ) : void
min int
max int
Результат void

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

public SetSpin2Value ( int num ) : void
num int
Результат void

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

public SetSpin3Range ( int min, int max ) : void
min int
max int
Результат void

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

public SetSpin3Value ( int num ) : void
num int
Результат void

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

public SetSpinDouble2Increments ( double min, double max ) : void
min double
max double
Результат void

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

public SetSpinDouble2Range ( double min, double max ) : void
min double
max double
Результат void

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

public SetSpinDouble2Value ( double num ) : void
num double
Результат void

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

public SetSpinRange ( double min, double max ) : void
min double
max double
Результат void

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

public SetSpinRange ( int min, int max ) : void
min int
max int
Результат void

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

public SetSpinValue ( int num ) : void
num int
Результат void

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

public SetTextview ( string str ) : void
str string
Результат void

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

public SetTreeview ( string columnsString, bool addCheckbox, ArrayList data, ArrayList myNonSensitiveRows, Constants, contextMenu, bool activateRowAcceptsWindow ) : void
columnsString string
addCheckbox bool
data ArrayList
myNonSensitiveRows ArrayList
contextMenu Constants,
activateRowAcceptsWindow bool
Результат void

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

public SetTreeviewSize ( int width, int height ) : void
width int
height int
Результат void

Show() публичный статический Метод

public static Show ( bool showNow, string textHeader, ArrayList array ) : GenericWindow,
showNow bool
textHeader string
array ArrayList
Результат GenericWindow,

Show() публичный статический Метод

public static Show ( string textHeader, Constants, stuff ) : GenericWindow,
textHeader string
stuff Constants,
Результат GenericWindow,

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

public ShowButtonCancel ( bool show ) : void
show bool
Результат void

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

public ShowButtonDelete ( bool show ) : void
show bool
Результат void

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

public ShowEditRow ( bool show ) : void
show bool
Результат void

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

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

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

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

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

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

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

public TreeviewSelectedRowID ( ) : int
Результат int

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

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

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

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

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

public on_row_double_clicked ( object o, Gtk args ) : void
o object
args Gtk
Результат void

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

public showWidget ( Constants, stuff ) : void
stuff Constants,
Результат void

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

public showWidgetsPowerful ( ArrayList widgetArray ) : void
widgetArray ArrayList
Результат void

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

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

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

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

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

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

public int TreeviewSelectedUniqueID
Результат int

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

public Types, Type
Результат Types,

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

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

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

public int uniqueID
Результат int