Methods
getBody() → {jQuery}
Return the body element.
Returns:
- Type
- jQuery
getBottom() → (nullable) {jQuery}
Return the bottom element.
Returns:
- Type
- jQuery
getIcon() → {qui.icons.Icon}
Return the view icon.
Returns:
- Type
- qui.icons.Icon
getTitle() → (nullable) {String}
Return the view title.
Returns:
- Type
- String
getTop() → {jQuery}
Return the top element.
Returns:
- Type
- jQuery
isMinimizable() → {Boolean}
Tell if the view is minimizable or not.
Returns:
- Type
- Boolean
isMinimized() → {Boolean}
Tell if the view is minimized or not.
Returns:
- Type
- Boolean
(abstract) makeBody() → {jQuery}
Implement this method to create the actual body of the view.
Returns:
- Type
- jQuery
makeBottom() → {jQuery}
Implement this method to create the bottom part of the view.
Returns:
- Type
- jQuery
minimize()
Minimize the view.
onMinimize()
Called when the view is minimized.
onUnminimize()
Called when the view is unminimized.
prepareIcon(icon) → {qui.icons.Icon}
Prepare the view icon, altering its attributes as needed, before applying it.
Parameters:
Name | Type | Description |
---|---|---|
icon |
qui.icons.Icon |
Returns:
- Type
- qui.icons.Icon
setIcon(iconnullable)
Set the view icon.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
icon |
qui.icons.Icon |
<nullable> |
the new icon ( |
setTitle(title)
Set the view title.
Parameters:
Name | Type | Description |
---|---|---|
title |
String | the new title |
toggleMinimized()
Toggle the view's minimization state.
unminimize()
Restore the view's minimization to normal state.