com.izforge.izpack.panels.userinput
Class FieldCommand

java.lang.Object
  extended by com.izforge.izpack.panels.userinput.FieldCommand

public abstract class FieldCommand
extends Object

Wrapper to allow passing the create method from the FieldFactory classes. This easily generate new fields, without cloning. Cloning is not available with JComponent classes, and using serialization to clone can to unexpected error.


Constructor Summary
FieldCommand()
           
 
Method Summary
 ConsoleField createConsoleField(Field field)
           
 GUIField createGuiField(Field field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldCommand

public FieldCommand()
Method Detail

createGuiField

public GUIField createGuiField(Field field)

createConsoleField

public ConsoleField createConsoleField(Field field)


Copyright © 2018. All rights reserved.