com.infoengine.modeler.UI
Class TaskExecutionPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JSplitPane
                  extended bycom.infoengine.modeler.UI.TaskExecutionPanel
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class TaskExecutionPanel
extends JSplitPane

See Also:
Serialized Form

Nested Class Summary
(package private)  class TaskExecutionPanel._HTMLEditorKit
           
(package private)  class TaskExecutionPanel._HTMLEditorKit_HTMLFactory
           
(package private)  class TaskExecutionPanel._ImageView
           
(package private)  class TaskExecutionPanel.Cookie
           
(package private)  class TaskExecutionPanel.HtmlHyperlinkListener
           
 
Nested classes inherited from class javax.swing.JSplitPane
JSplitPane.AccessibleJSplitPane
 
Nested classes inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
(package private)  ModelerPanel AuthPanel
           
(package private)  ModelerButton backButton
           
(package private)  Stack backStack
           
(package private)  BorderLayout borderLayout1
           
(package private)  BorderLayout borderLayout2
           
(package private)  ModelerPanel bottomPanel
           
(package private)  Vector cookies
           
(package private)  String currentURL
           
(package private)  ModelerButton executeButton
           
(package private)  JTextField ExecuteURL
           
(package private)  ModelerPanel fillerPanel
           
(package private)  ModelerPanel fillerPanel2
           
(package private)  ModelerButton forwardButton
           
(package private)  Stack forwardStack
           
(package private)  ModelerButton goButton
           
(package private)  HTMLDocument htmlDoc
           
(package private)  JEditorPane htmlEditor
           
(package private)  String HTTP_SERVER
           
private  String httpPasswd
           
(package private)  JLabel httpStatusBar
           
private  String httpUser
           
(package private)  JScrollPane jScrollPane1
           
(package private)  IOManager manager
           
(package private)  JScrollPane parameterPane
           
(package private)  JPasswordField passwordField
           
(package private)  JLabel passwordLabel
           
(package private)  JTextArea resultsTextArea
           
(package private)  JCheckBox showMetaCheckBox
           
(package private)  SourceTree sourceTree
           
(package private)  TwoColumnLayout tclLayout
           
(package private)  ModelerPanel topPanel
           
(package private)  JLabel userNameLabel
           
(package private)  JTextField userNameTextField
           
 
Fields inherited from class javax.swing.JSplitPane
BOTTOM, CONTINUOUS_LAYOUT_PROPERTY, continuousLayout, DIVIDER, DIVIDER_LOCATION_PROPERTY, DIVIDER_SIZE_PROPERTY, dividerSize, HORIZONTAL_SPLIT, LAST_DIVIDER_LOCATION_PROPERTY, lastDividerLocation, LEFT, leftComponent, ONE_TOUCH_EXPANDABLE_PROPERTY, oneTouchExpandable, orientation, ORIENTATION_PROPERTY, RESIZE_WEIGHT_PROPERTY, RIGHT, rightComponent, TOP, VERTICAL_SPLIT
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
TaskExecutionPanel()
           
TaskExecutionPanel(IOManager m, SourceTree st)
           
 
Method Summary
private  InputStream _filterHtmlMeta(InputStream is, String ctype)
           
(package private)  void backButton_actionPerformed(ActionEvent e)
           
private  void buildTopPanel()
           
private  void checkEnabled()
           
private  String encode(String url)
           
(package private)  void executeButton_actionPerformed(ActionEvent e)
           
 void ExecuteURL_keyPressed(KeyEvent e)
           
(package private)  void focusGained()
           
(package private)  void forwardButton_actionPerformed(ActionEvent e)
           
private  URL getBaseURL(String url)
           
private  boolean getHttpCredentials()
           
(package private)  void go(boolean action)
           
(package private)  void goButton_actionPerformed(ActionEvent e)
           
private  void guessURL()
           
private  void jbInit()
           
(package private)  void processCookies(HttpURLConnection httpC)
           
(package private)  void sendCookies(URLConnection c)
           
 void setManager(IOManager m)
           
(package private)  void setNavigationStatus()
           
 void setSourceTree(SourceTree st)
           
 
Methods inherited from class javax.swing.JSplitPane
addImpl, getAccessibleContext, getBottomComponent, getDividerLocation, getDividerSize, getLastDividerLocation, getLeftComponent, getMaximumDividerLocation, getMinimumDividerLocation, getOrientation, getResizeWeight, getRightComponent, getTopComponent, getUI, getUIClassID, isContinuousLayout, isOneTouchExpandable, isValidateRoot, paintChildren, paramString, remove, remove, removeAll, resetToPreferredSizes, setBottomComponent, setContinuousLayout, setDividerLocation, setDividerLocation, setDividerSize, setLastDividerLocation, setLeftComponent, setOneTouchExpandable, setOrientation, setResizeWeight, setRightComponent, setTopComponent, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, paint, paintBorder, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

borderLayout1

BorderLayout borderLayout1

parameterPane

JScrollPane parameterPane

bottomPanel

ModelerPanel bottomPanel

topPanel

ModelerPanel topPanel

borderLayout2

BorderLayout borderLayout2

AuthPanel

ModelerPanel AuthPanel

userNameLabel

JLabel userNameLabel

userNameTextField

JTextField userNameTextField

tclLayout

TwoColumnLayout tclLayout

passwordLabel

JLabel passwordLabel

passwordField

JPasswordField passwordField

fillerPanel2

ModelerPanel fillerPanel2

showMetaCheckBox

JCheckBox showMetaCheckBox

fillerPanel

ModelerPanel fillerPanel

jScrollPane1

JScrollPane jScrollPane1

resultsTextArea

JTextArea resultsTextArea

executeButton

ModelerButton executeButton

goButton

ModelerButton goButton

ExecuteURL

JTextField ExecuteURL

manager

IOManager manager

sourceTree

SourceTree sourceTree

httpUser

private String httpUser

httpPasswd

private String httpPasswd

htmlDoc

HTMLDocument htmlDoc

htmlEditor

JEditorPane htmlEditor

httpStatusBar

JLabel httpStatusBar

backButton

ModelerButton backButton

forwardButton

ModelerButton forwardButton

backStack

Stack backStack

forwardStack

Stack forwardStack

currentURL

String currentURL

cookies

Vector cookies

HTTP_SERVER

String HTTP_SERVER
Constructor Detail

TaskExecutionPanel

public TaskExecutionPanel()

TaskExecutionPanel

public TaskExecutionPanel(IOManager m,
                          SourceTree st)
Method Detail

checkEnabled

private void checkEnabled()

buildTopPanel

private void buildTopPanel()

guessURL

private void guessURL()

setManager

public void setManager(IOManager m)

setSourceTree

public void setSourceTree(SourceTree st)

jbInit

private void jbInit()
             throws Exception
Throws:
Exception

executeButton_actionPerformed

void executeButton_actionPerformed(ActionEvent e)

focusGained

void focusGained()

encode

private String encode(String url)
               throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

getHttpCredentials

private boolean getHttpCredentials()

getBaseURL

private URL getBaseURL(String url)
                throws MalformedURLException
Throws:
MalformedURLException

goButton_actionPerformed

void goButton_actionPerformed(ActionEvent e)

sendCookies

void sendCookies(URLConnection c)

processCookies

void processCookies(HttpURLConnection httpC)

go

void go(boolean action)

_filterHtmlMeta

private InputStream _filterHtmlMeta(InputStream is,
                                    String ctype)
                             throws IOException
Throws:
IOException

ExecuteURL_keyPressed

public void ExecuteURL_keyPressed(KeyEvent e)

setNavigationStatus

void setNavigationStatus()

backButton_actionPerformed

void backButton_actionPerformed(ActionEvent e)

forwardButton_actionPerformed

void forwardButton_actionPerformed(ActionEvent e)