org.jurvis.swing
Interface JvPanelContainer

All Superinterfaces:
JvJavaBean
All Known Subinterfaces:
JvPanelList, JvPanelTable, JvPanelTree
All Known Implementing Classes:
JvExplorerListDetails, JvExplorerTree, JvObjectTable, JvPropertyTable, JvTable, JvTree

public interface JvPanelContainer
extends JvJavaBean

A JvPanelContainer defines the interface for an object on a Panel that contains multiple items (e.g. a table or a tree). Items may be added, deleted, or edited.


Method Summary
 void addItem()
          Add an new item to the container.
 void copyItem()
          Copy the currently selected item to the clipboard.
 void deleteItem()
          Delete the currently selected item from the container.
 void editItem()
          Edit the currently selected item of the container.
 JComponent getComponent()
           
 boolean isAddItemEnabled()
           
 boolean isCopyItemEnabled()
           
 boolean isDeleteItemEnabled()
           
 boolean isEditItemEnabled()
           
 boolean isPasteItemEnabled()
           
 void pasteItem()
          Paste the item in the clipboard.
 
Methods inherited from interface org.jurvis.beans.JvJavaBean
addPropertyChangeListener, removePropertyChangeListener
 

Method Detail

getComponent

JComponent getComponent()
Returns:
the top-level component of this container

isAddItemEnabled

boolean isAddItemEnabled()
Returns:
true if an "Add Item" is currently allowed.

isDeleteItemEnabled

boolean isDeleteItemEnabled()
Returns:
true if a "Delete Item" is currently allowed.

isEditItemEnabled

boolean isEditItemEnabled()
Returns:
true if an "Edit Item" is currently allowed.

isCopyItemEnabled

boolean isCopyItemEnabled()
Returns:
true if a "Copy Item" is currently allowed.

isPasteItemEnabled

boolean isPasteItemEnabled()
Returns:
true if a "Paste Item" is currently allowed.

addItem

void addItem()
Add an new item to the container.


deleteItem

void deleteItem()
Delete the currently selected item from the container.


editItem

void editItem()
Edit the currently selected item of the container.


copyItem

void copyItem()
Copy the currently selected item to the clipboard.


pasteItem

void pasteItem()
Paste the item in the clipboard.



Copyright © 1999-2004 Neil W. Weber. All Rights Reserved.