ViewComponent

ViewComponent is a container for widgets with additional attributes processing such as rpui.view.attributes.accessors for more convinient way to access widgets, attach shortcuts to view methods and so on.

Constructors

this
this(View view, string layoutFileName, string shortcutsFileName)

Create viewComponent with view from layoutFileName and load shortcuts from shortcutsFileName.

this
this(View view, Widget rootWidget)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

copy
void copy()
Undocumented in source. Be warned that the author may not have intended to support it.
cut
void cut()
Undocumented in source. Be warned that the author may not have intended to support it.
findWidgetByName
Widget findWidgetByName()

Find widget in relative view root widget.

focusNext
void focusNext()
Undocumented in source. Be warned that the author may not have intended to support it.
focusPrev
void focusPrev()
Undocumented in source. Be warned that the author may not have intended to support it.
getView
View getView()
Undocumented in source. Be warned that the author may not have intended to support it.
onCreate
void onCreate()
Undocumented in source. Be warned that the author may not have intended to support it.
onDestroy
void onDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
onProgress
void onProgress(ProgressEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
paste
void paste()
Undocumented in source. Be warned that the author may not have intended to support it.
selectAll
void selectAll()
Undocumented in source. Be warned that the author may not have intended to support it.
unselect
void unselect()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

createFromFile
createFromFile(View view, string layoutFileName, string shortcutsFilename)

Create new view instance from file placed in res/ui/layouts with custom shorcuts shortcutsFilename. Instance will be created of T type.

createFromFile
createFromFile(View view, string fileName)

Create new view instance from file placed in res/ui/layouts. Instance will be created of T type.

createFromFileWithShortcuts
createFromFileWithShortcuts(View view, string fileName, string shortcuts)

Create new view instance from file placed in res/ui/layouts. Instance will be created of T type.

Variables

widgetFactory
RpdlWidgetFactory widgetFactory;
Undocumented in source.

Meta