Class InputPanel
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
jmt.framework.gui.wizard.WizardPanel
jwat.workloadAnalysis.panels.InputPanel
- All Implemented Interfaces:
CommonConstants, ImageObserver, MenuContainer, Serializable, Accessible, JWATConstants, EngineNodeConstants
Description: This class represents workload analysis tool input panel
- Author:
- Brambilla Davide Matr 667986, Fumagalli Claudio 667971 Created: 30-lug-2006 10.54.14 Darksch
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class JPanel
JPanel.AccessibleJPanelNested classes/interfaces inherited from class JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AbstractActionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected AbstractActionprotected AbstractActionFields inherited from class WizardPanel
parentWizardFields inherited from class JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface CommonConstants
ALL_CLASSES, ALL_MODES, ALL_STATIONS, BALKINGSTRATEGY_DESCRIPTION, BATCH_SIMULATION_DESCRIPTION, BLOCKING_DESCRIPTION, CLASS_TYPE_CLOSED, CLASS_TYPE_OPEN, CLASSES_DESCRIPTION, COMPATIBILITIES_DESCRIPTION, CONNECTIONS_DESCRIPTION, CONVERSION_WARNING_DESCRIPTION, DIM_BUTTON_L, DIM_BUTTON_M, DIM_BUTTON_S, DIM_BUTTON_XL, DIM_BUTTON_XS, DISTRIBUTION_BATCH, DISTRIBUTION_BERNOULLI_DISCRETE, DISTRIBUTION_BINOMIAL_DISCRETE, DISTRIBUTION_BURST, DISTRIBUTION_COXIAN, DISTRIBUTION_DETERMINISTIC, DISTRIBUTION_ERLANG, DISTRIBUTION_EXPONENTIAL, DISTRIBUTION_GAMMA, DISTRIBUTION_HYPEREXPONENTIAL, DISTRIBUTION_LOGNORMAL, DISTRIBUTION_MAP, DISTRIBUTION_MMPP2, DISTRIBUTION_NORMAL, DISTRIBUTION_PARETO, DISTRIBUTION_PHASETYPE, DISTRIBUTION_POISSON_DISCRETE, DISTRIBUTION_REPLAYER, DISTRIBUTION_SHIFTED_GEOMETRIC_DISCRETE, DISTRIBUTION_UNIFORM, DISTRIBUTION_UNIFORM_DISCRETE, DISTRIBUTION_WEIBULL, DISTRIBUTION_ZIPF_DISCRETE, FINITE_BLOCK, FINITE_DROP, FINITE_RETRIAL, FINITE_WAITING, FORK_CLASS_SWITCH, FORK_COMBINATION, FORK_MULTI_BRANCH_CLASS_SWITCH, FORK_PROBABILITIES, heightScaling, HTML_END, HTML_FONT_NOR_END, HTML_FONT_NORM, HTML_FONT_TIT_END, HTML_FONT_TITLE, HTML_START, IMG_JABAICON, IMG_JMCHICON, IMG_JMODELICON, IMG_JMVAICON, IMG_JSIMICON, IMG_JWATICON, IMG_SUITEICON, INFINITE_CAPACITY, JABA, JMVA, JOIN_MIX, JOIN_NORMAL, JOIN_PARTIAL, JSIM, JWAT, LARGE_ICON_SIZE_MENU_BAR, LARGE_ICON_SIZE_TOOL_BAR, LDROUTING_DESCRIPTION, LDSERVICE_DESCRIPTION, MAX_GUI_HEIGHT_ABOUT, MAX_GUI_HEIGHT_COMMON, MAX_GUI_HEIGHT_DIALOG_DEFAULT, MAX_GUI_HEIGHT_JABA, MAX_GUI_HEIGHT_JMCH, MAX_GUI_HEIGHT_JMVA, MAX_GUI_HEIGHT_JSIM_DISTRIB, MAX_GUI_HEIGHT_JSIM_PROBLEMS, MAX_GUI_HEIGHT_JSIM_RESULTS, MAX_GUI_HEIGHT_JSIM_STAT_OUTPUT, MAX_GUI_HEIGHT_JWAT, MAX_GUI_HEIGHT_JWAT_COLOR, MAX_GUI_HEIGHT_JWAT_STARTSCREEN, MAX_GUI_HEIGHT_LDEDITING, MAX_GUI_HEIGHT_LDHELP, MAX_GUI_HEIGHT_LDROUTING, MAX_GUI_HEIGHT_LDSTRATEGY, MAX_GUI_HEIGHT_POLLING, MAX_GUI_HEIGHT_PSSERVER, MAX_GUI_HEIGHT_QUICKHTML, MAX_GUI_HEIGHT_SERVER_FEATURES, MAX_GUI_HEIGHT_STARTSCREEN, MAX_GUI_HEIGHT_WHATIF_PROGRESS, MAX_GUI_HEIGHT_WHATIF_RESULTS, MAX_GUI_WIDTH_ABOUT, MAX_GUI_WIDTH_COMMON, MAX_GUI_WIDTH_DIALOG_DEFAULT, MAX_GUI_WIDTH_JABA, MAX_GUI_WIDTH_JMCH, MAX_GUI_WIDTH_JMVA, MAX_GUI_WIDTH_JSIM_DISTRIB, MAX_GUI_WIDTH_JSIM_PROBLEMS, MAX_GUI_WIDTH_JSIM_RESULTS, MAX_GUI_WIDTH_JSIM_STAT_OUTPUT, MAX_GUI_WIDTH_JWAT, MAX_GUI_WIDTH_JWAT_COLOR, MAX_GUI_WIDTH_JWAT_STARTSCREEN, MAX_GUI_WIDTH_LDEDITING, MAX_GUI_WIDTH_LDHELP, MAX_GUI_WIDTH_LDROUTING, MAX_GUI_WIDTH_LDSTRATEGY, MAX_GUI_WIDTH_POLLING, MAX_GUI_WIDTH_PSSERVER, MAX_GUI_WIDTH_QUICKHTML, MAX_GUI_WIDTH_SERVER_FEATURES, MAX_GUI_WIDTH_STARTSCREEN, MAX_GUI_WIDTH_WHATIF_PROGRESS, MAX_GUI_WIDTH_WHATIF_RESULTS, MAX_NUMBER_OF_CLASSES, MAX_NUMBER_OF_GROUPS, MAX_NUMBER_OF_PHASES, MAX_NUMBER_OF_REGIONS, MAX_NUMBER_OF_STATIONS, MAX_SMALL_ICON_SCREEN_HEIGHT, MAX_SMALL_ICON_SCREEN_WIDTH, MEASURE_LOG_DESCRIPTION, MEASURES_DESCRIPTION, METRIC_CONFIGURATIONS_DESCRIPTION, PAR1, PAR2, PARAMETRIC_ANALYSIS_DESCRIPTION, QUEUE_STRATEGY_DPS, QUEUE_STRATEGY_EDD, QUEUE_STRATEGY_EDF, QUEUE_STRATEGY_FCFS, QUEUE_STRATEGY_FCFS_PR, QUEUE_STRATEGY_GPS, QUEUE_STRATEGY_LCFS, QUEUE_STRATEGY_LCFS_PR, QUEUE_STRATEGY_LEPT, QUEUE_STRATEGY_LJF, QUEUE_STRATEGY_PS, QUEUE_STRATEGY_QBPS, QUEUE_STRATEGY_RAND, QUEUE_STRATEGY_SEPT, QUEUE_STRATEGY_SJF, QUEUE_STRATEGY_SRPT, QUEUE_STRATEGY_TBS, REFSOURCE_DESCRIPTION, ROUTING_CLASS_SWITCH, ROUTING_DISABLED, ROUTING_FASTESTSERVICE, ROUTING_LEASTUTILIZATION, ROUTING_LOADDEPENDENT, ROUTING_POWER_OF_K, ROUTING_PROBABILITIES, ROUTING_RANDOM, ROUTING_ROUNDROBIN, ROUTING_SHORTESTQL, ROUTING_SHORTESTRT, ROUTING_WEIGHTED_ROUNDROBIN, ROW_HEIGHT, SEMAPHORE_NORMAL, SERVER_FEATURE_CLASS_PARALLELISM, SERVER_FEATURE_DELAY_OFF_STRATEGIES, SERVER_FEATURE_PREEMPTIVE_STRATEGIES, SERVER_FEATURE_SCHEDULING_POLICY, SERVER_FEATURE_SERVER_COMPATIBILITIES, SERVER_FEATURE_SERVER_NAMES, SERVER_FEATURE_SERVERS_PER_SERVER_TYPE, SERVER_FEATURE_SETUP_STRATEGIES, SERVER_FEATURE_SWITCHOVER_STRATEGIES, SERVER_FEATURE_VACATION_STRATEGY, SERVER_PARAMETER_ADVANCED_FEATURES, SERVER_SETTINGS_DESCRIPTION, SERVER_VACATION_DESCRIPTION, SERVICE_DISABLED, SERVICE_LOAD_DEPENDENT, SERVICE_LOAD_INDEPENDENT, SERVICE_ZERO, SIMENGINE, SIMULATION_DESCRIPTION, SMALL_ICON_SIZE_MENU_BAR, SMALL_ICON_SIZE_TOOL_BAR, STATION_NAMES, STATION_QUEUE_STRATEGY_NON_PREEMPTIVE, STATION_QUEUE_STRATEGY_NON_PREEMPTIVE_PRIORITY, STATION_QUEUE_STRATEGY_POLLING, STATION_QUEUE_STRATEGY_POLLING_EXHAUSTIVE, STATION_QUEUE_STRATEGY_POLLING_GATED, STATION_QUEUE_STRATEGY_POLLING_LIMITED, STATION_QUEUE_STRATEGY_PREEMPTIVE, STATION_QUEUE_STRATEGY_PREEMPTIVE_PRIORITY, STATION_QUEUE_STRATEGY_PS, STATION_QUEUE_STRATEGY_PSSERVER, STATION_QUEUE_STRATEGY_PSSERVER_PRIORITY, STATION_SCHEDULING_POLICY_ALFS, STATION_SCHEDULING_POLICY_ALIS, STATION_SCHEDULING_POLICY_FAIRNESS, STATION_SCHEDULING_POLICY_FSF, STATION_SCHEDULING_POLICY_ORDER, STATION_SCHEDULING_POLICY_RAIS, STATION_TYPE_CLASSSWITCH, STATION_TYPE_DELAY, STATION_TYPE_FORK, STATION_TYPE_JOIN, STATION_TYPE_LOGGER, STATION_TYPE_PLACE, STATION_TYPE_ROUTER, STATION_TYPE_SCALER, STATION_TYPE_SEMAPHORE, STATION_TYPE_SERVER, STATION_TYPE_SINK, STATION_TYPE_SOURCE, STATION_TYPE_TERMINAL, STATION_TYPE_TRANSITION, STATION_VACATION_POLICY_BERNOULLI, STATION_VACATION_POLICY_MULTIPLE, STATION_VACATION_POLICY_NONE, STATION_VACATION_POLICY_SINGLE, STATIONS_DESCRIPTION, STATIONS_PAR_DESCRIPTION, SWITCHOVER_ZERO, TIMING_STRATEGY_IMMEDIATE, TIMING_STRATEGY_TIMED, WARNING_CLASS, WARNING_CLASS_INCOMING_ROUTING, WARNING_CLASS_OUTGOING_ROUTING, WARNING_CLASS_STATION, WARNING_INCOMING_ROUTING, WARNING_MULTI_CLASS, WARNING_OUTGOING_ROUTING, WARNING_STATION, widthScalingFields inherited from interface ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface JWATConstants
BUTTONSIZE, DATE, defaultFormat, EXAMPLE_PATH, FITTING_EXPO_PANEL, FITTING_INPUT_PANEL, FITTING_PARETO_PANEL, FUZZYK, HTML_FONT_SMALL, HTML_FONT_TIT_END_NO_CAPO, INPUT_MSG_ABORT, INPUT_MSG_ABORT_WRONG_FORMAT, INPUT_MSG_FAIL, KMEANS, LOG_FILE_NAME, NUMERIC, STRING, TRAFFIC_EPOCH_PANEL, TRAFFIC_GRAPH_PANEL, TRAFFIC_GRAPHARRIVAL_PANEL, TRAFFIC_INPUT_PANEL, TRAFFIC_TEXTUAL_PANEL, WORKLOAD_BIVARIATE_PANEL, WORKLOAD_CLUSTERING_PANEL, WORKLOAD_INFOCLUSTERING_PANEL, WORKLOAD_INPUT_PANEL -
Constructor Summary
ConstructorsConstructorDescriptionInputPanel(MainJwatWizard parent) Creates and sets up a workload analysis input panel. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanWIZARD MANAGEMENT FUNCTIONSgetName()Returns the name of the panevoidgotFocus()called by the Wizard when the panel becomes activevoidhelp()called by the Wizard when the user presses the help buttonvoidcalled by the Wizard before when switching to another panelvoidvoidsetCanGoForward(boolean canGo) Methods inherited from class WizardPanel
canFinish, getParentWizard, redraw, setParentWizardMethods inherited from class JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIMethods inherited from class JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateMethods inherited from class Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class 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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
LOAD_FORMAT_LABEL
- See Also:
-
LOAD_FILTER_LABEL
- See Also:
-
BUTTON_SAVE_FORMAT
- See Also:
-
LOAD_LOG
- See Also:
-
FILTER_NEXT_STEP
- See Also:
-
loadFile
-
addNewVariable
-
saveFormat
-
-
Constructor Details
-
InputPanel
Creates and sets up a workload analysis input panel. This panels contains all necessary information to correctly load observation from a specified log file.- Parameters:
parent- reference to current Wizard frame
-
-
Method Details
-
getName
Returns the name of the pane- Specified by:
getNamein classWizardPanel- Returns:
- the panel's name
- See Also:
-
canGoForward
public boolean canGoForward()WIZARD MANAGEMENT FUNCTIONS- Overrides:
canGoForwardin classWizardPanel- Returns:
- true if it is ok for the wizard to go forward. It is ok for the queried panel to pop up a message box explaining why it cannot go forward.
-
setCanGoForward
public void setCanGoForward(boolean canGo) -
canGoBack
public boolean canGoBack()- Overrides:
canGoBackin classWizardPanel- Returns:
- true if it is ok for the wizard to go back. It is ok for the queried panel to pop up a message box explaining why it cannot go back.
-
help
public void help()Description copied from class:WizardPanelcalled by the Wizard when the user presses the help button- Overrides:
helpin classWizardPanel
-
gotFocus
public void gotFocus()Description copied from class:WizardPanelcalled by the Wizard when the panel becomes active- Overrides:
gotFocusin classWizardPanel
-
lostFocus
public void lostFocus()Description copied from class:WizardPanelcalled by the Wizard before when switching to another panel- Overrides:
lostFocusin classWizardPanel
-
resetOnNew
public void resetOnNew()
-