Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.gui.imprt
Class ImportToPanel  view ImportToPanel download ImportToPanel.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bycom.flexstor.common.awt.FlexBorderPanel
                  extended bycom.flexstor.common.gui.imprt.ImportToPanel
All Implemented Interfaces:
javax.accessibility.Accessible, java.util.EventListener, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, java.util.Observer, java.io.Serializable

public class ImportToPanel
extends com.flexstor.common.awt.FlexBorderPanel
implements java.util.Observer, java.awt.event.ItemListener


Nested Class Summary
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  java.lang.String appLabel
           
protected  com.flexstor.common.awt.field.FlexChoice chkApplication
           
protected  com.flexstor.common.awt.field.FlexChoice chkValues
           
protected  com.flexstor.common.modules.registry.BaseInstanceI currentAsset
           
protected  java.awt.GridBagConstraints gbc
           
protected  java.awt.GridBagLayout gbl
           
protected  java.awt.Label lApplication
           
protected  java.awt.Label lValues
           
protected  SettingsModelI sModel
           
protected  java.util.Vector treeData
           
 
Fields inherited from class com.flexstor.common.awt.FlexBorderPanel
ALIGN_CENTERED, ALIGN_LEFT, ALIGN_RIGHT, BEVEL_LINE, BEVEL_LOWERED, BEVEL_NONE, BEVEL_RAISED, bevelDarkerColor, bevelLighterColor, borderColor, cachedBackground, cListeners, internalInsets, ixPad, iyPadBottom, iyPadTop, label, labelAlignment, labelColor, labelipadx, labelpadx, padbottom, padleft, padright, padtop, panel, style
 
Fields inherited from class java.awt.Panel
 
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
ImportToPanel(SettingsModelI sModel)
           
 
Method Summary
private  boolean appChkContains(java.lang.String name)
           
 void configureComponents()
           
private  java.lang.String getDisguiseName(com.flexstor.common.modules.registry.BaseInstanceI instance)
           
private  java.awt.Panel getPanel()
           
private  java.util.Vector getTreeValues(com.flexstor.common.modules.registry.BaseInstanceI instance)
           
private  void initValues()
           
 boolean isCopyEnabled()
           
 boolean isToDoChecked()
          Checks the State of the Place in To Do checkbox / @return The boolean state of the Checkbox
 void itemStateChanged(java.awt.event.ItemEvent event)
          This method is called when an item's state is changed.
 void loadData()
           
 void setTextField(java.lang.String s)
           
 void update(java.util.Observable observable, java.lang.Object object)
          This method is called whenever the observable object changes, and has called notifyObservers.
 
Methods inherited from class com.flexstor.common.awt.FlexBorderPanel
getLabelTopMargin, getMinimumSize, getPreferredSize, setAlignStyle, setBevelStyle, setIPadBottom, setLabel, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, sizepanel
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusDownCycle, update, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lApplication

protected java.awt.Label lApplication

chkApplication

protected com.flexstor.common.awt.field.FlexChoice chkApplication

lValues

protected java.awt.Label lValues

chkValues

protected com.flexstor.common.awt.field.FlexChoice chkValues

gbl

protected java.awt.GridBagLayout gbl

gbc

protected java.awt.GridBagConstraints gbc

sModel

protected SettingsModelI sModel

appLabel

protected java.lang.String appLabel

currentAsset

protected com.flexstor.common.modules.registry.BaseInstanceI currentAsset

treeData

protected java.util.Vector treeData
Constructor Detail

ImportToPanel

public ImportToPanel(SettingsModelI sModel)
Method Detail

getPanel

private java.awt.Panel getPanel()

loadData

public void loadData()

initValues

private void initValues()

appChkContains

private boolean appChkContains(java.lang.String name)

setTextField

public void setTextField(java.lang.String s)

isToDoChecked

public boolean isToDoChecked()
Checks the State of the Place in To Do checkbox / @return The boolean state of the Checkbox


isCopyEnabled

public boolean isCopyEnabled()

update

public void update(java.util.Observable observable,
                   java.lang.Object object)
Description copied from interface: java.util.Observer
This method is called whenever the observable object changes, and has called notifyObservers. The Observable object can pass arbitrary information in the second parameter.

Specified by:
update in interface java.util.Observer

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent event)
Description copied from interface: java.awt.event.ItemListener
This method is called when an item's state is changed.

Specified by:
itemStateChanged in interface java.awt.event.ItemListener

getDisguiseName

private java.lang.String getDisguiseName(com.flexstor.common.modules.registry.BaseInstanceI instance)

getTreeValues

private java.util.Vector getTreeValues(com.flexstor.common.modules.registry.BaseInstanceI instance)

configureComponents

public void configureComponents()