|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
de.unidu.is.annotation.rework.gui.AnnotationPanel
Created on 27.06.2005 This panel shows the values of an annotation (author, annotationstype, title, text)
| 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 | |
protected AnnotationService |
annoService
|
private java.lang.String |
author
|
private boolean |
editableCheck
|
private javax.swing.JLabel |
jLabelAuthor
|
private javax.swing.JLabel |
jLabelText
|
private javax.swing.JLabel |
jLabelTitle
|
private javax.swing.JLabel |
jLabelType
|
private javax.swing.JPanel |
jPanel
|
private javax.swing.JPanel |
jPanel1
|
private javax.swing.JPanel |
jPanel6
|
private javax.swing.JPanel |
jPanelAuthor
|
private javax.swing.JPanel |
jPanelFullText
|
private javax.swing.JPanel |
jPanelTitle
|
private javax.swing.JPanel |
jPanelTypeTree
|
private javax.swing.JScrollPane |
jScrollPaneFullText
|
private javax.swing.JScrollPane |
jScrollPaneTypeTree
|
private javax.swing.JTextArea |
jTextAreaFullText
|
private javax.swing.JTextField |
jTextFieldAuthor
|
private javax.swing.JTextField |
jTextFieldTitle
|
private javax.swing.JTree |
jTree
|
private de.unido.daffodil.gui.PaddleGUIFunctionality |
pgf
|
protected CheckNode |
root
|
private java.lang.String |
text
|
private java.lang.String |
title
|
private de.unido.daffodil.dataclasses.User |
user
|
private java.lang.String |
userID
|
| Fields inherited from class javax.swing.JPanel |
|
| 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.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 | |
AnnotationPanel(AnnotationService annoService)
Constructor AnnotationPanel(AnnotationService annoService) for MVB |
|
AnnotationPanel(AnnotationService annoService,
de.unido.daffodil.gui.PaddleGUIFunctionality pgf)
Constructor AnnotationPanel(AnnotationService annoService, PaddleGUIFunctionality pgf) |
|
AnnotationPanel(AnnotationService annoService,
de.unido.daffodil.gui.PaddleGUIFunctionality pgf,
boolean editableCheck)
Constructor AnnotationPanel(AnnotationService annoService, PaddleGUIFunctionality pgf, boolean editableCheck) for editable checknodetree |
|
| Method Summary | |
javax.swing.JTextField |
getAuthorComponent()
getAuthorComponent() |
java.util.List |
getCheckedNodes()
getCheckedNodes() |
void |
getCheckedNodes(CheckNode node,
java.util.List list)
|
private javax.swing.JPanel |
getJPanel()
This method initializes jPanel |
private javax.swing.JPanel |
getJPanel1()
This method initializes jPanel1 |
private javax.swing.JPanel |
getJPanel6()
This method initializes jPanel6 |
private javax.swing.JPanel |
getJPanelAuthor()
This method initializes jPanelAuthor |
private javax.swing.JPanel |
getJPanelFullText()
This method initializes jPanelFullText |
private javax.swing.JPanel |
getJPanelTitle()
This method initializes jPanelTitle |
private javax.swing.JPanel |
getJPanelTypeTree()
This method initializes jPanelTypeTree |
private javax.swing.JScrollPane |
getJScrollPaneFullText()
This method initializes jScrollPaneFullText |
private javax.swing.JScrollPane |
getJScrollPaneTypeTree()
This method initializes jScrollPaneTypeTree |
private javax.swing.JTextArea |
getJTextAreaFullText()
This method initializes jTextAreaFullText |
private javax.swing.JTextField |
getJTextFieldAuthor()
This method initializes jTextFieldAuthor |
private javax.swing.JTextField |
getJTextFieldTitle()
This method initializes jTextFieldTitle |
private javax.swing.JTree |
getJTree()
This method initializes jTree |
javax.swing.JTextArea |
getTextComponent()
getTextComponent() |
javax.swing.JTextField |
getTitleComponent()
getTitleComponent() |
private void |
initialize()
This method initializes this |
void |
setAuthorComponent(java.lang.String author)
setAuthorComponent(String author) |
void |
setCheckedNodes(CheckNode node,
java.util.List list)
|
void |
setCheckedNodes(java.util.List list)
set the checkNodes in the TypeTree |
void |
setEditableAuthor(boolean b)
setEditableAuthor(boolean b) |
void |
setEditableValues(boolean b)
setEditableValues(boolean b) sets Title and Fulltext editable |
void |
setRootSelected(boolean b)
setRootSelected(boolean b) set the root element of the TypeTree selected for new annotations |
void |
setTitleComponent(java.lang.String title)
setTitleComponent(String title) for MVB |
| 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, getVisibleRect, getWidth, 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 |
private javax.swing.JPanel jPanel
private javax.swing.JTree jTree
private javax.swing.JPanel jPanel1
private javax.swing.JLabel jLabelType
private javax.swing.JPanel jPanelTypeTree
private javax.swing.JPanel jPanelAuthor
private javax.swing.JLabel jLabelAuthor
private javax.swing.JTextField jTextFieldAuthor
private javax.swing.JPanel jPanelTitle
private javax.swing.JLabel jLabelTitle
private javax.swing.JTextField jTextFieldTitle
private javax.swing.JPanel jPanelFullText
private javax.swing.JLabel jLabelText
private javax.swing.JTextArea jTextAreaFullText
private javax.swing.JPanel jPanel6
private javax.swing.JScrollPane jScrollPaneFullText
private javax.swing.JScrollPane jScrollPaneTypeTree
protected AnnotationService annoService
private java.lang.String author
private java.lang.String title
private java.lang.String text
private de.unido.daffodil.dataclasses.User user
private java.lang.String userID
private de.unido.daffodil.gui.PaddleGUIFunctionality pgf
private boolean editableCheck
protected CheckNode root
| Constructor Detail |
public AnnotationPanel(AnnotationService annoService,
de.unido.daffodil.gui.PaddleGUIFunctionality pgf)
throws de.unido.daffodil.gui.NoUserException
annoService - pgf -
de.unido.daffodil.gui.NoUserException
public AnnotationPanel(AnnotationService annoService,
de.unido.daffodil.gui.PaddleGUIFunctionality pgf,
boolean editableCheck)
throws de.unido.daffodil.gui.NoUserException
annoService - AnnotationServicepgf - PaddleGUIFunctionalityeditableCheck -
de.unido.daffodil.gui.NoUserExceptionpublic AnnotationPanel(AnnotationService annoService)
annoService - AnnotationService| Method Detail |
private void initialize()
private javax.swing.JPanel getJPanel()
public java.util.List getCheckedNodes()
public void getCheckedNodes(CheckNode node,
java.util.List list)
public void setCheckedNodes(java.util.List list)
list -
public void setCheckedNodes(CheckNode node,
java.util.List list)
public javax.swing.JTextField getAuthorComponent()
public void setAuthorComponent(java.lang.String author)
author - public javax.swing.JTextField getTitleComponent()
public void setTitleComponent(java.lang.String title)
title - public javax.swing.JTextArea getTextComponent()
private javax.swing.JTree getJTree()
private javax.swing.JPanel getJPanel1()
private javax.swing.JPanel getJPanelTypeTree()
private javax.swing.JPanel getJPanelAuthor()
private javax.swing.JTextField getJTextFieldAuthor()
private javax.swing.JPanel getJPanelTitle()
private javax.swing.JTextField getJTextFieldTitle()
private javax.swing.JPanel getJPanelFullText()
private javax.swing.JTextArea getJTextAreaFullText()
private javax.swing.JPanel getJPanel6()
private javax.swing.JScrollPane getJScrollPaneFullText()
private javax.swing.JScrollPane getJScrollPaneTypeTree()
public void setEditableAuthor(boolean b)
b - public void setEditableValues(boolean b)
b - public void setRootSelected(boolean b)
b -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||