edu.cs.ai.kreator.ui.gui.components.controller
Class PreviewGuideControls

java.lang.Object
  extended by edu.cs.ai.kreator.ui.gui.components.controller.PreviewGuideControls

public class PreviewGuideControls
extends java.lang.Object

Helper class: A dataset of the controls the *PreviewGuideController classes need. Also defines some creation methods. The Panel contains: - JEditorPane for preview output using html formatting - JList where the user is working on. These list contains items the user can select in the current state. - JCheckBox and JLabel showing if the actual working object is valid

Author:
Tim Janus
See Also:
QueryPreviewGuideController

Field Summary
 javax.swing.JEditorPane output
           
 javax.swing.JPanel panel
           
 UserAppendRemoveList workList
           
 
Constructor Summary
PreviewGuideControls(javax.swing.JPanel panel, javax.swing.JEditorPane output, UserAppendRemoveList workList)
           
 
Method Summary
static PreviewGuideControls generateOutputPanel(java.lang.String name)
          Helper method: Generates the panel with the Guide Informations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

panel

public javax.swing.JPanel panel

output

public javax.swing.JEditorPane output

workList

public UserAppendRemoveList workList
Constructor Detail

PreviewGuideControls

public PreviewGuideControls(javax.swing.JPanel panel,
                            javax.swing.JEditorPane output,
                            UserAppendRemoveList workList)
Method Detail

generateOutputPanel

public static PreviewGuideControls generateOutputPanel(java.lang.String name)
Helper method: Generates the panel with the Guide Informations. An JEditorPane using HTML for nice formatted text output and hyperlinks for further navigation in the query construction process.