jaxx.runtime.swing.editor.config.model
Class CallBackEntry

java.lang.Object
  extended by jaxx.runtime.swing.editor.config.model.CallBackEntry

public class CallBackEntry
extends Object

A call back with his attached options.

Since:
2.0
Author:
tchemit

Field Summary
protected  Runnable action
           
protected  String description
           
protected  Icon icon
           
protected  String name
           
protected  List<OptionModel> options
           
 
Constructor Summary
CallBackEntry(String name, String description, Icon icon, Runnable action)
           
 
Method Summary
protected  void addOption(OptionModel option)
           
 Runnable getAction()
           
 String getDescription()
           
 Icon getIcon()
           
 String getName()
           
 List<OptionModel> getOptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected final String name

description

protected final String description

icon

protected final Icon icon

action

protected final Runnable action

options

protected List<OptionModel> options
Constructor Detail

CallBackEntry

public CallBackEntry(String name,
                     String description,
                     Icon icon,
                     Runnable action)
Method Detail

getAction

public Runnable getAction()

getName

public String getName()

getDescription

public String getDescription()

getIcon

public Icon getIcon()

getOptions

public List<OptionModel> getOptions()

addOption

protected void addOption(OptionModel option)


Copyright © 2008-2010 CodeLutin. All Rights Reserved.