de.kleopatra.forms.view.builder
Class FormIOHelper
java.lang.Object
de.kleopatra.forms.view.builder.FormIOHelper
- public class FormIOHelper
- extends java.lang.Object
Convenience helper to ease FileChooser handling.
- Version:
- $Revision: 1.2 $ $Date: 2004/09/23 13:43:33 $
- Author:
- (C) 2003 Jeanette Winzenburg, Berlin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formIO
protected FormIO formIO
owner
protected java.awt.Frame owner
customizer
protected FileChooserHandler customizer
FormIOHelper
public FormIOHelper()
setOwner
public void setOwner(java.awt.Frame frame)
setFormIO
public void setFormIO(FormIO formIO)
- set a custom formIO to use.
if null the helper uses the shared FormIO as returned by
FormFactory.
chooseLayoutFilename
public java.lang.String chooseLayoutFilename(boolean read)
readLayoutFile
public LayoutDescription readLayoutFile()
writeLayoutFile
public boolean writeLayoutFile(LayoutDescription description)
choosePresentationFilename
public java.lang.String choosePresentationFilename(boolean read)
readPresentation
public Presentation readPresentation()
writePresentation
public boolean writePresentation(Presentation presentation)
chooseFormDescriptionFilename
public java.lang.String chooseFormDescriptionFilename(boolean read)
readFormDescription
public FormDescription readFormDescription()
writeFormDescription
public boolean writeFormDescription(FormDescription formDescription)
chooseStyleMapFilename
public java.lang.String chooseStyleMapFilename(boolean read)
readStyleMap
public StyleMap readStyleMap()
writeStyleMap
public boolean writeStyleMap(StyleMap styleMap)
getFilename
protected java.lang.String getFilename(int option,
java.lang.String ext)
getFilename
protected java.lang.String getFilename(int option,
java.lang.Class handledClass)
customizeFileChooserHandler
protected void customizeFileChooserHandler()
getFormIO
protected FormIO getFormIO()
getFileChooserHandler
protected FileChooserHandler getFileChooserHandler()
createFileChooserHandler
protected FileChooserHandler createFileChooserHandler()
Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.