Class com.asual.enflash.ui.MenuItem

com.asual.enflash.EnFlashObject
   +--com.asual.enflash.ui.UIObject
      +--com.asual.enflash.ui.Component
         +--com.asual.enflash.ui.Button
            +--com.asual.enflash.ui.MenuItem

Field Index

checked, group, menu, selected, shortcut, shortcutLabel, type
Inherited from Button
align, draggable, dragProperties, icon, label, onchange, ondoublepress, ondrag, ondragbegin, ondragend, ondragout, onpress, onrelease, onreleaseoutside, onrollout, onrollover, selected, toggle, value
Inherited from Component
asset, autoSize, clear, display, enabled, float, focusable, host, loaded, onblur, onfocus, onzoom, ph, pw, rotation, swf, tabIndex, zoom
Inherited from UIObject
alpha, h, margin, movieclip, onload, onresize, padding, visible, w, x, y
Inherited from EnFlashObject
id, oninit, onremove, parent, ref

Method Index

new MenuItem()

addItem(), addItemAt(), addSeparator(), moveLeft(), moveRight(), removeAll(), removeItem(), removeItemAt()
Inherited from Button
Inherited from Component
blur(), focus(), setSize()
Inherited from UIObject
load(), main(), move()
Inherited from EnFlashObject
addEventListener(), createDelegate(), debug(), dispatchEvent(), dispatchEventOnce(), getListeners(), getXML(), remove(), removeDelegate(), removeEventListener(), setXML(), toString()

Constructor Detail

MenuItem

public function MenuItem(id:String)

Field Detail

shortcut

public shortcut:String [Read Only]

type

public type:String

group

public group:String

checked

public checked:Boolean

shortcutLabel

public shortcutLabel:Label [Read Only]

selected

public selected:Boolean

menu

public menu:Menu [Read Only]

Method Detail

addSeparator

public function addSeparator():Component

addItem

public function addItem(item:MenuItem):MenuItem

addItemAt

public function addItemAt(index:Number, item:MenuItem):MenuItem

removeItem

public function removeItem(item):Void

removeItemAt

public function removeItemAt(index):Void

removeAll

public function removeAll():Void

moveRight

public function moveRight():Void

moveLeft

public function moveLeft():Void