XMI
Class Content

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--XMI.Content
All Implemented Interfaces:
java.awt.event.ActionListener, DispletCommunication, java.util.EventListener, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, java.io.Serializable

public class Content
extends java.awt.Container
implements java.awt.event.ActionListener, java.awt.event.ItemListener, DispletCommunication

Content is the class which collects information about the UML elements.

See Also:
Serialized Form

Nested Class Summary
 
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
static java.awt.Button attributesBt
           
static java.util.Vector attributesId
           
static java.awt.List attributesList
           
static java.awt.TextArea check
           
static java.awt.Button checkBt
           
static java.util.Vector checkId
           
static java.awt.List checkList
           
static java.util.Vector currentId
           
static int currentIndex
           
static java.awt.List currentList
           
static java.awt.Font defaultFont
           
static java.awt.Label detailsLabel
           
static java.awt.Label dictionaryLabel
           
static java.awt.Font emphFont
           
static java.awt.Button generalBt
           
static java.util.Hashtable hashId
           
static java.util.Vector linkId
           
static java.awt.Label linkLabel
           
static java.awt.List linkList
           
static java.awt.List list
           
static java.util.Vector listId
           
static int listIndex
           
static java.awt.Button operationsBt
           
static java.util.Vector operationsId
           
static java.awt.List operationsList
           
static java.awt.Button parametersBt
           
static java.util.Vector parametersId
           
static java.awt.List parametersList
           
static java.awt.Button relationsBt
           
static java.util.Vector relationsId
           
static java.awt.List relationsList
           
static java.awt.TextArea ta
           
static java.util.Hashtable titleSet
          A set of titles associated to hrefs.
 
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
Content()
          Main constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Gives feedback to a performed action.
 void add(Model elem)
          Adds a Model to this container.
 void add(ModelElement elem)
          Adds a ModelElement to this container.
 void addMouseAdapter()
          Adds a mouse adapter to this class.
 void check(java.lang.Object obj)
          Checks object validity.
protected  void display(java.lang.String ref)
          Displays an URL in a new browser window.
 void doLayout()
          Lays out this container.
 void getInfo(java.lang.Object obj)
          Gets info on some object.
static void invertButton(java.awt.Button bt)
          Evidentiates a butto, leaving it as selected.
 void itemStateChanged(java.awt.event.ItemEvent e)
          Reacts to item selection.
 void nodeClicked(java.lang.String id)
           
 void printString(java.lang.String s)
           
static void show(java.awt.Component comp)
          Shows the specified component.
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, 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, getAccessibleContext, 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, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

listId

public static java.util.Vector listId

hashId

public static java.util.Hashtable hashId

linkId

public static java.util.Vector linkId

relationsId

public static java.util.Vector relationsId

attributesId

public static java.util.Vector attributesId

operationsId

public static java.util.Vector operationsId

parametersId

public static java.util.Vector parametersId

checkId

public static java.util.Vector checkId

currentList

public static java.awt.List currentList

currentId

public static java.util.Vector currentId

currentIndex

public static int currentIndex

listIndex

public static int listIndex

list

public static java.awt.List list

linkList

public static java.awt.List linkList

relationsList

public static java.awt.List relationsList

attributesList

public static java.awt.List attributesList

operationsList

public static java.awt.List operationsList

parametersList

public static java.awt.List parametersList

checkList

public static java.awt.List checkList

ta

public static java.awt.TextArea ta

check

public static java.awt.TextArea check

dictionaryLabel

public static java.awt.Label dictionaryLabel

linkLabel

public static java.awt.Label linkLabel

detailsLabel

public static java.awt.Label detailsLabel

generalBt

public static java.awt.Button generalBt

relationsBt

public static java.awt.Button relationsBt

attributesBt

public static java.awt.Button attributesBt

operationsBt

public static java.awt.Button operationsBt

parametersBt

public static java.awt.Button parametersBt

checkBt

public static java.awt.Button checkBt

defaultFont

public static java.awt.Font defaultFont

emphFont

public static java.awt.Font emphFont

titleSet

public static java.util.Hashtable titleSet
A set of titles associated to hrefs. Used to give name to windows that are opende when a link is clicked.

Constructor Detail

Content

public Content()
Main constructor. Initializes User Interface.

Method Detail

addMouseAdapter

public void addMouseAdapter()
Adds a mouse adapter to this class.


show

public static void show(java.awt.Component comp)
Shows the specified component.


invertButton

public static void invertButton(java.awt.Button bt)
Evidentiates a butto, leaving it as selected.


actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Gives feedback to a performed action.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Reacts to item selection.

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

getInfo

public void getInfo(java.lang.Object obj)
Gets info on some object.


check

public void check(java.lang.Object obj)
Checks object validity.


add

public void add(ModelElement elem)
Adds a ModelElement to this container.


add

public void add(Model elem)
Adds a Model to this container.


doLayout

public void doLayout()
Lays out this container.

Overrides:
doLayout in class java.awt.Container

display

protected void display(java.lang.String ref)
Displays an URL in a new browser window.


printString

public void printString(java.lang.String s)
Specified by:
printString in interface DispletCommunication

nodeClicked

public void nodeClicked(java.lang.String id)
Specified by:
nodeClicked in interface DispletCommunication