MIOLO25
|
Membros públicos | |
__construct ($name, $itens=array(), $isSubMenu=false) | |
addItem ($item) | |
enableZebra () | |
addCustomCSS ($css, $cssClass) | |
addCustomItem ($label, $onClick, $iconClass) | |
removeItemByLabel ($label) | |
addSeparator () | |
addSubMenu ($contextMenu, $label, $onClick, $iconClass) | |
destroy () | |
generate () | |
Membros públicos herdados de MDiv | |
__construct ( $name=NULL, $content=' ', $class=NULL, $attributes=NULL) | |
addAttribute ($attr, $value) | |
__construct ( $name=NULL, $content=' ', $class=NULL, $attributes=NULL) | |
Membros públicos herdados de MControl | |
__construct ( $name=NULL) | |
setName ($name) | |
setId ($id) | |
getId () | |
getName () | |
getUniqueId () | |
__clone () | |
__set ( $name, $value) | |
__get ( $name) | |
setClass ($cssClass, $add=TRUE) | |
insertClass ( $cssClass) | |
addStyleFile ( $styleFile) | |
getClass () | |
addStyle ($name, $value) | |
setStyle ($style) | |
getStyle () | |
getBoxStyle () | |
setPosition ($left, $top, $position='absolute') | |
setWidth ($value) | |
setHeight ($value) | |
setColor ($value) | |
setVisibility ($value) | |
setFont ($value) | |
setAttribute ( $name, $value=null) | |
getAttribute ( $name) | |
setAttributes ($attr) | |
attributes ( $mergeDuplicates=false) | |
getAttributes ( $mergeDuplicates=false) | |
setReadOnly ($status) | |
setEnabled ($state) | |
setJsHint ( $hint) | |
setHint ( $hint) | |
setCaption ($caption) | |
setHTMLTitle ($title) | |
eventHandler () | |
attachEventHandler ( $name, $handler, $param=NULL) | |
addEvent ($event, $handler, $preventDefault=true) | |
hasEvent ($event) | |
generateEvent () | |
setContent ($inner) | |
setInner ($inner) | |
getInner () | |
getRender ( $method) | |
getInnerToString () | |
getCSSP () | |
generateInner () | |
__toString () | |
Membros públicos herdados de MComponent | |
getManager () | |
Campos de Dados | |
const | ICON_CANCEL = 'dijitEditorIcon dijitEditorIconCancel' |
const | ICON_COPY = 'dijitEditorIcon dijitEditorIconCopy' |
const | ICON_CUT = 'dijitEditorIcon dijitEditorIconCut' |
const | ICON_DELETE = 'dijitEditorIcon dijitEditorIconDelete' |
const | ICON_DUPLICATE = 'mMenuIcon mMenuIconDuplicate' |
const | ICON_EDIT = 'mMenuIcon mMenuIconEdit' |
const | ICON_EXPORT = 'mMenuIcon mMenuIconExport' |
const | ICON_EXPORT_HTML = 'mMenuIcon mMenuIconExportHTML' |
const | ICON_EXPORT_PDF = 'mMenuIcon mMenuIconExportPDF' |
const | ICON_EXPORT_CSV = 'mMenuIcon mMenuIconExportCSV' |
const | ICON_INSERT = 'mMenuIcon mMenuIconInsert' |
const | ICON_PASTE = 'dijitEditorIcon dijitEditorIconPaste' |
const | ICON_RELATION = 'mMenuIcon mMenuIconRelation' |
const | ICON_REMOVE = 'mMenuIcon mMenuIconRemove' |
const | ICON_SAVE = 'dijitEditorIcon dijitEditorIconSave' |
const | ICON_VIEW = 'mMenuIcon mMenuIconView' |
const | ICON_WORKFLOW = 'mMenuIcon mMenuIconWorkflow' |
$isSubMenu | |
$itens | |
Campos de Dados herdados de MControl | |
$id | |
$uniqueId | |
$enabled | |
$style | |
$attrs | |
$attributes | |
$maintainState | |
$readonly | |
$visible | |
$caption | |
$jsHint | |
$hint | |
$cssp | |
$inner | |
$parent | |
$eventHandlers | |
$painter | |
$event | |
$formId | |
const | ALIGN_CENTER = 'center' |
const | ALIGN_LEFT = 'left' |
const | ALIGN_RIGHT = 'right' |
const | FORM_MODE_WHOLE_ROW = 0 |
const | FORM_MODE_SHOW_SIDE = 1 |
const | FORM_MODE_SHOW_ABOVE = 2 |
const | FORM_MODE_SHOW_NBSP = 3 |
$formMode | |
Campos de Dados herdados de MComponent | |
$manager | |
$page | |
$owner | |
$name | |
$className | |
Outros membros herdados | |
Atributos Públicos Estáticos herdados de MControl | |
static | $_number = 0 |
Membros protegidos herdados de MControl | |
_addStyle ($name, $value) | |
__construct | ( | $name, | |
$itens = array(), | |||
$isSubMenu = false ) |
MStaticMenu constructor
addCustomCSS | ( | $css, | |
$cssClass ) |
Add custom CSS style.
string | $css | CSS style. |
string | $cssClass | New class name. |
addCustomItem | ( | $label, | |
$onClick, | |||
$iconClass ) |
Add a custom item.
string | $label | Item label. |
string | $onClick | On click action. |
string | $iconClass | Icon CSS class. |
addItem | ( | $item | ) |
Add an item to menu.
object | $item | MMenuItem instance. |
addSeparator | ( | ) |
Add a separator.
addSubMenu | ( | $contextMenu, | |
$label, | |||
$onClick, | |||
$iconClass ) |
Add another MStaticMenu instance as a sub menu.
object | $contextMenu | MStaticMenu instance |
string | $label | Sub menu label. |
string | $onClick | On click action. |
string | $iconClass | Icon CSS class. |
destroy | ( | ) |
Destroy current menu instance.
enableZebra | ( | ) |
Enable zebra menu.
generate | ( | ) |
removeItemByLabel | ( | $label | ) |
Remove an item by Label. The method compares that label of item is equal to passed label and remove it from list.
$label | the label to remove |
$isSubMenu |
$itens |
const ICON_CANCEL = 'dijitEditorIcon dijitEditorIconCancel' |
Constants for the icon CSS classes.There is more at dojo.css present on the theme directory.
const ICON_COPY = 'dijitEditorIcon dijitEditorIconCopy' |
const ICON_CUT = 'dijitEditorIcon dijitEditorIconCut' |
const ICON_DELETE = 'dijitEditorIcon dijitEditorIconDelete' |
const ICON_DUPLICATE = 'mMenuIcon mMenuIconDuplicate' |
const ICON_EDIT = 'mMenuIcon mMenuIconEdit' |
const ICON_EXPORT = 'mMenuIcon mMenuIconExport' |
const ICON_EXPORT_CSV = 'mMenuIcon mMenuIconExportCSV' |
const ICON_EXPORT_HTML = 'mMenuIcon mMenuIconExportHTML' |
const ICON_EXPORT_PDF = 'mMenuIcon mMenuIconExportPDF' |
const ICON_INSERT = 'mMenuIcon mMenuIconInsert' |
const ICON_PASTE = 'dijitEditorIcon dijitEditorIconPaste' |
const ICON_RELATION = 'mMenuIcon mMenuIconRelation' |
const ICON_REMOVE = 'mMenuIcon mMenuIconRemove' |
const ICON_SAVE = 'dijitEditorIcon dijitEditorIconSave' |
const ICON_VIEW = 'mMenuIcon mMenuIconView' |
const ICON_WORKFLOW = 'mMenuIcon mMenuIconWorkflow' |