coras.client.ui
Class ElementDetailsPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended bycoras.client.ui.ElementDetailsPanel
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class ElementDetailsPanel
extends javax.swing.JPanel

Author:
fvr TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
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.lang.String ELEMENT_CONCERN
           
static java.lang.String ELEMENT_DOMAIN
           
static java.lang.String ELEMENT_FULL_DESCRIPTION
           
static java.lang.String ELEMENT_NAME
           
static java.lang.String ELEMENT_SHORT_DESCRIPTION
           
static java.lang.String ELEMENT_VIEWPOINTS
           
 
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
ElementDetailsPanel()
          This is the default constructor
 
Method Summary
 coras.reuse.CategoryEnum getCategory()
           
 coras.structure.ConcernEnum getConcern()
           
 java.lang.String getDomain()
           
 java.lang.String getElementName()
           
 java.lang.String getFullDescription()
           
 java.lang.String getShortDescription()
           
 coras.types.SubtypeEnum getSubtype()
           
 coras.structure.ViewpointEnum getViewpoint()
           
 coras.structure.ViewpointEnum[] getViewpoints()
           
 boolean isAllowMultipleViewpoints()
           
 boolean isCategoryEnabled()
           
 boolean isDirty()
           
 boolean isDomainEditable()
           
 boolean isDomainEnabled()
           
 boolean isEditable()
           
 boolean isEnableTypeSelection()
           
static void main(java.lang.String[] args)
           
 void setAllowMultipleViewpoints(boolean allowMultipleViewpoints)
           
 void setCategoryEnabled(boolean enabled)
           
 void setConcern(coras.structure.ConcernEnum concern)
           
 void setDomainEditable(boolean editable)
           
 void setDomainEnabled(boolean enabled)
           
 void setEditable(boolean editable)
           
 void setElement(coras.common.CorasElement newElement)
           
 void setEnableTypeSelection(boolean editable)
           
 void setSubprocess(coras.structure.SubProcessEnum subprocess)
           
 void setSubtypeChoices(java.util.ArrayList subtypes)
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, 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, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getWidth, getVisibleRect, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, 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, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, 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

ELEMENT_NAME

public static final java.lang.String ELEMENT_NAME
See Also:
Constant Field Values

ELEMENT_SHORT_DESCRIPTION

public static final java.lang.String ELEMENT_SHORT_DESCRIPTION
See Also:
Constant Field Values

ELEMENT_FULL_DESCRIPTION

public static final java.lang.String ELEMENT_FULL_DESCRIPTION
See Also:
Constant Field Values

ELEMENT_DOMAIN

public static final java.lang.String ELEMENT_DOMAIN
See Also:
Constant Field Values

ELEMENT_CONCERN

public static final java.lang.String ELEMENT_CONCERN
See Also:
Constant Field Values

ELEMENT_VIEWPOINTS

public static final java.lang.String ELEMENT_VIEWPOINTS
See Also:
Constant Field Values
Constructor Detail

ElementDetailsPanel

public ElementDetailsPanel()
This is the default constructor

Method Detail

main

public static void main(java.lang.String[] args)

setElement

public void setElement(coras.common.CorasElement newElement)

isEditable

public boolean isEditable()

isDirty

public boolean isDirty()

setEditable

public void setEditable(boolean editable)

isAllowMultipleViewpoints

public boolean isAllowMultipleViewpoints()

setAllowMultipleViewpoints

public void setAllowMultipleViewpoints(boolean allowMultipleViewpoints)

isCategoryEnabled

public boolean isCategoryEnabled()

setCategoryEnabled

public void setCategoryEnabled(boolean enabled)

isDomainEnabled

public boolean isDomainEnabled()

setDomainEnabled

public void setDomainEnabled(boolean enabled)

isDomainEditable

public boolean isDomainEditable()

setDomainEditable

public void setDomainEditable(boolean editable)

isEnableTypeSelection

public boolean isEnableTypeSelection()

setEnableTypeSelection

public void setEnableTypeSelection(boolean editable)

setSubtypeChoices

public void setSubtypeChoices(java.util.ArrayList subtypes)

getSubtype

public coras.types.SubtypeEnum getSubtype()

getElementName

public java.lang.String getElementName()
Returns:

getShortDescription

public java.lang.String getShortDescription()
Returns:

getFullDescription

public java.lang.String getFullDescription()
Returns:

getConcern

public coras.structure.ConcernEnum getConcern()

setConcern

public void setConcern(coras.structure.ConcernEnum concern)
Parameters:
concern -

setSubprocess

public void setSubprocess(coras.structure.SubProcessEnum subprocess)

getViewpoints

public coras.structure.ViewpointEnum[] getViewpoints()

getViewpoint

public coras.structure.ViewpointEnum getViewpoint()

getDomain

public java.lang.String getDomain()

getCategory

public coras.reuse.CategoryEnum getCategory()


Copyright © 2003-2005 SINTEF. All Rights Reserved.