jrunx.install.standard
Class AbstractDisplayPanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--jrunx.install.standard.AbstractDisplayPanel
All Implemented Interfaces:
javax.accessibility.Accessible, Constants, DisplayPanelInterface, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Direct Known Subclasses:
ChooseIdePanel, DisplayLicensePanel, InstallCompletePanel, InstallDirectoryPanel, JDKChooserPanel

public class AbstractDisplayPanel
extends javax.swing.JPanel
implements DisplayPanelInterface, Constants

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
Field Summary
protected  java.lang.String description
           
protected  javax.swing.Icon icon
           
protected  InstallerUI installerui
           
protected  boolean lastDisplay
           
protected  java.lang.String name
           
protected  java.lang.String nextDisplay
           
protected  java.lang.String previousDisplay
           
protected  java.lang.String title
           
 
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.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface jrunx.install.Constants
APPLICATION_COMMAND, CHECKBOX_MESSAGE, DEFAULT_IMAGE, DEFAULT_INSTALLDIR, FRAME_ICON, FRAME_SIZE, FRAME_TITLE, GENERATE_UNINSTALL, HTML_URL, JAR_TO_INSTALL, LICENSE_FILE, RESTART_COMMAND, SHOW_FLASH, SHOW_SPLASH, SPLASH_IMAGE, SPLASH_TIME, TEXT_FILE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
AbstractDisplayPanel(InstallerUI installerui)
           
 
Method Summary
 java.lang.String getDescription()
          The optional description to display.
 javax.swing.Icon getIcon()
          An optional image to display for this panel.
 java.awt.Insets getInsets()
           
 java.lang.String getName()
          A name identifies this panel.
 java.lang.String getNextDisplay()
          The next panel to display.
 java.lang.String getPreviousDisplay()
          The previous panel to display.
 java.lang.String getTitle()
          The optional title to display.
 boolean isLastDisplay()
          Set whether this is the final display
 void setDescription(java.lang.String description)
           
 void setIcon(javax.swing.Icon icon)
           
 void setLastDisplay(boolean lastDisplay)
           
 void setName(java.lang.String name)
           
 void setNextDisplay(java.lang.String nextDisplay)
          Set what the next display to this panel should be.
 void setPreviousDisplay(java.lang.String previousDisplay)
          Set what the previous display to this panel should be.
 void setTitle(java.lang.String title)
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUIClassID, paramString, 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, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processFocusEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

installerui

protected InstallerUI installerui

name

protected java.lang.String name

nextDisplay

protected java.lang.String nextDisplay

previousDisplay

protected java.lang.String previousDisplay

title

protected java.lang.String title

description

protected java.lang.String description

icon

protected javax.swing.Icon icon

lastDisplay

protected boolean lastDisplay
Constructor Detail

AbstractDisplayPanel

public AbstractDisplayPanel(InstallerUI installerui)
Method Detail

getInsets

public java.awt.Insets getInsets()
Overrides:
getInsets in class javax.swing.JComponent

getDescription

public java.lang.String getDescription()
Description copied from interface: DisplayPanelInterface
The optional description to display.
Specified by:
getDescription in interface DisplayPanelInterface

setDescription

public void setDescription(java.lang.String description)

getIcon

public javax.swing.Icon getIcon()
Description copied from interface: DisplayPanelInterface
An optional image to display for this panel.
Specified by:
getIcon in interface DisplayPanelInterface

setIcon

public void setIcon(javax.swing.Icon icon)

getName

public java.lang.String getName()
Description copied from interface: DisplayPanelInterface
A name identifies this panel. This cannot be empty.
Specified by:
getName in interface DisplayPanelInterface
Overrides:
getName in class java.awt.Component

setName

public void setName(java.lang.String name)
Overrides:
setName in class java.awt.Component

getNextDisplay

public java.lang.String getNextDisplay()
Description copied from interface: DisplayPanelInterface
The next panel to display. The value returned is the name ( see getName() ) used to identify the panel.
Specified by:
getNextDisplay in interface DisplayPanelInterface

setNextDisplay

public void setNextDisplay(java.lang.String nextDisplay)
Description copied from interface: DisplayPanelInterface
Set what the next display to this panel should be.
Specified by:
setNextDisplay in interface DisplayPanelInterface

getPreviousDisplay

public java.lang.String getPreviousDisplay()
Description copied from interface: DisplayPanelInterface
The previous panel to display. The value returned is the name ( see getName() ) used to identify the panel.
Specified by:
getPreviousDisplay in interface DisplayPanelInterface

setPreviousDisplay

public void setPreviousDisplay(java.lang.String previousDisplay)
Description copied from interface: DisplayPanelInterface
Set what the previous display to this panel should be.
Specified by:
setPreviousDisplay in interface DisplayPanelInterface

getTitle

public java.lang.String getTitle()
Description copied from interface: DisplayPanelInterface
The optional title to display.
Specified by:
getTitle in interface DisplayPanelInterface

setTitle

public void setTitle(java.lang.String title)

isLastDisplay

public boolean isLastDisplay()
Description copied from interface: DisplayPanelInterface
Set whether this is the final display
Specified by:
isLastDisplay in interface DisplayPanelInterface

setLastDisplay

public void setLastDisplay(boolean lastDisplay)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.