|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mitre.cvw
Class WhiteboardObjectPanel

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.mitre.cvw.CVWPanel
org.mitre.cvw.ObjectPanel
org.mitre.cvw.WhiteboardObjectPanel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- public class WhiteboardObjectPanel
- extends ObjectPanel
The gui panel for displaying information about a CVWWhiteboard.
- Version:
| 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 | |
(package private) boolean |
duplicate
|
protected javax.swing.JButton |
whiteboardBrowseButton
|
protected javax.swing.JLabel |
whiteboardLabel
|
protected javax.swing.JTextField |
whiteboardTextField
|
| Fields inherited from class org.mitre.cvw.ObjectPanel |
cancelButton, createLabel, createValueLabel, cvwObject, descLabel, descTextArea, editable, helpButton, location, moveCheckbox, nameField, nameLabel, objExists, okButton, ret, sessile, tab, typeArea, typeDiag, typeLabel, typeValueBox, typeValueLabel |
| Fields inherited from class org.mitre.cvw.CVWPanel |
draggable, insideOf |
| 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 | |
(package private) |
WhiteboardObjectPanel(CVWObject obj,
FolderDialog containedIn)
Constructor when object is being created |
(package private) |
WhiteboardObjectPanel(CVWObject obj,
FolderDialog containedIn,
java.lang.String perms)
Constructor when object exists |
| Method Summary | |
void |
browseCommand()
Opens the find file dialog window. |
boolean |
cancel()
if the user cancels the creation of a whiteboard, delete the duplicate CVWDocument created on the Document server. |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size of the panel. |
void |
init(CVWObject obj,
FolderDialog containedIn)
Initialize the gui components |
boolean |
ok()
Processes the data in the fields when the user pushes the Save button. |
void |
setEditability(java.lang.String perms)
Sets the editability of this panel. |
| Methods inherited from class org.mitre.cvw.ObjectPanel |
editable, preventDescEditing |
| Methods inherited from class org.mitre.cvw.CVWPanel |
constrain, getInsideOf, isDraggable, setDraggable, setVisisble |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
whiteboardLabel
protected javax.swing.JLabel whiteboardLabel
whiteboardTextField
protected javax.swing.JTextField whiteboardTextField
whiteboardBrowseButton
protected javax.swing.JButton whiteboardBrowseButton
duplicate
boolean duplicate
| Constructor Detail |
WhiteboardObjectPanel
WhiteboardObjectPanel(CVWObject obj, FolderDialog containedIn, java.lang.String perms)
- Constructor when object exists
WhiteboardObjectPanel
WhiteboardObjectPanel(CVWObject obj, FolderDialog containedIn)
- Constructor when object is being created
| Method Detail |
init
public void init(CVWObject obj, FolderDialog containedIn)
- Initialize the gui components
- Overrides:
initin classObjectPanel
browseCommand
public void browseCommand()
- Opens the find file dialog window.
setEditability
public void setEditability(java.lang.String perms)
- Sets the editability of this panel. If the object is not editable, then
fields are disabled and grey background.
- Overrides:
setEditabilityin classObjectPanel
getPreferredSize
public java.awt.Dimension getPreferredSize()
- Returns the preferred size of the panel.
- Overrides:
getPreferredSizein classObjectPanel
ok
public boolean ok()
- Processes the data in the fields when the user pushes the Save button.
- Overrides:
okin classObjectPanel
cancel
public boolean cancel()
- if the user cancels the creation of a whiteboard, delete the duplicate
CVWDocument created on the Document server.
|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC