Skip navigation links


com.essbase.eas.essbase.ui.windows.partition
Class PartitionSourceTargetPanel

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by com.essbase.eas.essbase.ui.windows.partition.PartitionSourceTargetPanel

All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
Direct Known Subclasses:
ASOPartitionSourceTargetPanel, ASOPartitionWizardSourceTargetPanel

public class PartitionSourceTargetPanel
extends javax.swing.JPanel

Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Sree Menon
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel

 

Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent

 

Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer

 

Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy

 

Field Summary
protected static java.lang.String BLANKPWD
           
protected  java.awt.Color clrBgnd
           
protected  PartitionInfo info
           
protected static java.lang.String JUNK_PWD
           
protected  DefaultPartition partition
           
protected  PartitionSettingChangeListener partitionSettingChangeListener
           
protected  java.util.ResourceBundle r
           
protected  AppComboBox srcApp
           
protected  AppComboBoxPanel srcAppPanel
           
protected  DatabaseComboBox srcDb
           
protected  DatabaseComboBoxPanel srcDbPanel
           
protected  CTextArea srcNote
           
protected  VerticalPairPanel srcNotePanel
           
protected  CPasswordField srcPwd
           
protected  VerticalPairPanel srcPwdPanel
           
protected  ServerComboBox srcServer
           
protected  ServerComboBoxPanel srcServerPanel
           
protected  CTextField srcUser
           
protected  VerticalPairPanel srcUserPanel
           
protected  AppComboBox tgtApp
           
protected  AppComboBoxPanel tgtAppPanel
           
protected  DatabaseComboBox tgtDb
           
protected  DatabaseComboBoxPanel tgtDbPanel
           
protected  CTextArea tgtNote
           
protected  VerticalPairPanel tgtNotePanel
           
protected  CPasswordField tgtPwd
           
protected  VerticalPairPanel tgtPwdPanel
           
protected  ServerComboBox tgtServer
           
protected  ServerComboBoxPanel tgtServerPanel
           
protected  CTextField tgtUser
           
protected  VerticalPairPanel tgtUserPanel
           

 

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 java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH

 

Constructor Summary
PartitionSourceTargetPanel(PartitionInfo info, DefaultPartition partition)
           

 

Method Summary
 boolean getInfo(DefaultPartition part, boolean check)
           
 PartitionSettingChangeListener getPartitionSettingsChangeListener()
           
 java.lang.String getSourceAppName()
           
 Database getSourceDatabase()
           
 java.lang.String getSourceDatabaseName()
           
protected  javax.swing.JPanel getSourcePanel()
           
 java.lang.String getSourcePassword()
           
 java.lang.String getSourceServerName()
           
 java.lang.String getSourceUserName()
           
protected  java.lang.String getString(java.lang.String key)
           
 java.lang.String getTargetAppName()
           
 Database getTargetDatabase()
           
 java.lang.String getTargetDatabaseName()
           
protected  javax.swing.JPanel getTargetPanel()
           
 java.lang.String getTargetPassword()
           
 ServerComboBox getTargetServerCombo()
           
 java.lang.String getTargetServerName()
           
 java.lang.String getTargetUserName()
           
 boolean hasChanged(DefaultPartition part)
           
protected  void init()
           
protected  void initSrcPanel()
           
protected  void initTgtPanel()
           
 void modifyTargetApplications(boolean allowASOApps)
           
 void partitionTypeChanged(int newType)
          Support for ASO target for transparent partitions We need to show all databases in target comboo box (ASO + BSO) for transparent partitions only.
 void setPartitionSettingChangeListener(PartitionSettingChangeListener partitionSettingChangeListener)
           
 void setSource(Application app)
           
 void setSource(Database database)
           
 void setSource(Server server)
           
 void startPrinting(CPrintable print, java.lang.String title)
           
 void updateInfo(DefaultPartition partition)
           
 void updateMnemonicsForDialog()
           
 void updateMnemonicsForFrame()
           
 void updateUser(DefaultPartition partition)
           

 

Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI

 

Methods inherited from class javax.swing.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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, 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, update

 

Methods inherited from class java.awt.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, 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, 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, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, 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, 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

r

protected java.util.ResourceBundle r

srcServerPanel

protected ServerComboBoxPanel srcServerPanel

srcAppPanel

protected AppComboBoxPanel srcAppPanel

srcDbPanel

protected DatabaseComboBoxPanel srcDbPanel

srcPwdPanel

protected VerticalPairPanel srcPwdPanel

srcNotePanel

protected VerticalPairPanel srcNotePanel

srcServer

protected ServerComboBox srcServer

srcApp

protected AppComboBox srcApp

srcDb

protected DatabaseComboBox srcDb

srcUser

protected CTextField srcUser

srcUserPanel

protected VerticalPairPanel srcUserPanel

srcPwd

protected CPasswordField srcPwd

srcNote

protected CTextArea srcNote

tgtServerPanel

protected ServerComboBoxPanel tgtServerPanel

tgtAppPanel

protected AppComboBoxPanel tgtAppPanel

tgtDbPanel

protected DatabaseComboBoxPanel tgtDbPanel

tgtPwdPanel

protected VerticalPairPanel tgtPwdPanel

tgtNotePanel

protected VerticalPairPanel tgtNotePanel

tgtServer

protected ServerComboBox tgtServer

tgtApp

protected AppComboBox tgtApp

tgtDb

protected DatabaseComboBox tgtDb

tgtUser

protected CTextField tgtUser

tgtUserPanel

protected VerticalPairPanel tgtUserPanel

tgtPwd

protected CPasswordField tgtPwd

tgtNote

protected CTextArea tgtNote

partition

protected DefaultPartition partition

info

protected PartitionInfo info

clrBgnd

protected java.awt.Color clrBgnd

BLANKPWD

protected static final java.lang.String BLANKPWD
See Also:
Constant Field Values

JUNK_PWD

protected static final java.lang.String JUNK_PWD
See Also:
Constant Field Values

partitionSettingChangeListener

protected PartitionSettingChangeListener partitionSettingChangeListener

Constructor Detail

PartitionSourceTargetPanel

public PartitionSourceTargetPanel(PartitionInfo info,
                                  DefaultPartition partition)

Method Detail

init

protected void init()

modifyTargetApplications

public void modifyTargetApplications(boolean allowASOApps)

initSrcPanel

protected void initSrcPanel()

initTgtPanel

protected void initTgtPanel()

getPartitionSettingsChangeListener

public PartitionSettingChangeListener getPartitionSettingsChangeListener()

setPartitionSettingChangeListener

public void setPartitionSettingChangeListener(PartitionSettingChangeListener partitionSettingChangeListener)

getSourcePanel

protected javax.swing.JPanel getSourcePanel()

getTargetPanel

protected javax.swing.JPanel getTargetPanel()

hasChanged

public boolean hasChanged(DefaultPartition part)

updateUser

public void updateUser(DefaultPartition partition)

updateInfo

public void updateInfo(DefaultPartition partition)

getInfo

public boolean getInfo(DefaultPartition part,
                       boolean check)

getString

protected java.lang.String getString(java.lang.String key)

getSourceDatabase

public Database getSourceDatabase()

getTargetDatabase

public Database getTargetDatabase()

getSourceServerName

public java.lang.String getSourceServerName()

getTargetServerName

public java.lang.String getTargetServerName()

getTargetDatabaseName

public java.lang.String getTargetDatabaseName()

getSourceDatabaseName

public java.lang.String getSourceDatabaseName()

getTargetAppName

public java.lang.String getTargetAppName()

getSourceAppName

public java.lang.String getSourceAppName()

getTargetUserName

public java.lang.String getTargetUserName()

getTargetPassword

public java.lang.String getTargetPassword()

getSourceUserName

public java.lang.String getSourceUserName()

getSourcePassword

public java.lang.String getSourcePassword()

startPrinting

public void startPrinting(CPrintable print,
                          java.lang.String title)

setSource

public void setSource(Database database)

setSource

public void setSource(Application app)

setSource

public void setSource(Server server)

getTargetServerCombo

public ServerComboBox getTargetServerCombo()

partitionTypeChanged

public void partitionTypeChanged(int newType)
Support for ASO target for transparent partitions We need to show all databases in target comboo box (ASO + BSO) for transparent partitions only.

updateMnemonicsForFrame

public void updateMnemonicsForFrame()

updateMnemonicsForDialog

public void updateMnemonicsForDialog()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.