Package pamViewFX.fxNodes.utilsFX
Class MenuItemInfo
java.lang.Object
pamViewFX.fxNodes.utilsFX.MenuItemInfo
Holds info allowing a swing menu item to be converted to JavaFX nodes.
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionjavafx.event.EventHandler<javafx.event.ActionEvent> javafx.scene.NodegetIcon()getLabel()voidsetActionListener(javafx.event.EventHandler<javafx.event.ActionEvent> actionListener) voidsetIcon(javafx.scene.Node icon) voidvoidsetSubMenuList(ArrayList<MenuItemInfo> subMenuList)  
- 
Constructor Details
- 
MenuItemInfo
Constructor 
 - 
 - 
Method Details
- 
getSubMenuList
- Returns:
 - the subMenuList
 
 - 
setSubMenuList
- Parameters:
 subMenuList- the subMenuList to set
 - 
getLabel
- Returns:
 - the label
 
 - 
setLabel
- Parameters:
 label- the label to set
 - 
getIcon
public javafx.scene.Node getIcon()- Returns:
 - the icon
 
 - 
setIcon
public void setIcon(javafx.scene.Node icon) - Parameters:
 icon- the icon to set
 - 
getActionListener
public javafx.event.EventHandler<javafx.event.ActionEvent> getActionListener()- Returns:
 - the actionListener
 
 - 
setActionListener
public void setActionListener(javafx.event.EventHandler<javafx.event.ActionEvent> actionListener) - Parameters:
 actionListener- the actionListener to set
 
 -