|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JToolBar org.w3c.jigadmin.editors.ControlServerHelper
public class ControlServerHelper
The server helper for the control resource.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JToolBar |
---|
javax.swing.JToolBar.AccessibleJToolBar, javax.swing.JToolBar.Separator |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected static java.lang.String |
ADD_A
|
protected java.lang.String |
addBTT
|
protected RemoteResourceWrapper |
control
|
protected static java.lang.String |
DELE_A
|
protected java.lang.String |
deleBTT
|
protected static java.lang.String |
EDIT_A
|
protected java.lang.String |
editBTT
|
protected static java.lang.String |
HELP_A
|
protected java.lang.String |
helpBTT
|
protected java.util.Vector |
listeners
|
protected java.lang.String |
name
|
protected static java.lang.String |
REFE_A
|
protected java.lang.String |
refeBTT
|
protected static java.lang.String |
REIN_A
|
protected java.lang.String |
reinBTT
|
protected static java.lang.String |
SAVE_A
|
protected java.lang.String |
saveBTT
|
protected static java.lang.String |
STOP_A
|
protected java.lang.String |
stopBTT
|
protected java.lang.String |
tooltip
|
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 org.w3c.jigadmin.editors.ServerHelperInterface |
---|
TOOLTIP_P |
Fields inherited from interface javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ControlServerHelper()
Constructor. |
Method Summary | |
---|---|
void |
addResourceActionListener(ResourceActionListener listener)
Add a ResourceActionListener. |
protected void |
build()
Build the interface. |
protected void |
fireResourceEvent(int type)
Fire a resource event. |
java.awt.Component |
getComponent()
Get the helper Component |
java.lang.String |
getName()
Get the helper name. |
java.lang.String |
getToolTip()
Get the helper tooltip |
void |
initialize(java.lang.String name,
RemoteResourceWrapper rrw,
java.util.Properties p)
Initialize this editor. |
void |
removeResourceActionListener(ResourceActionListener listener)
Remove a ResourceActionListener. |
void |
setAddToolTipText(java.lang.String tooltip)
Set the tooltip for the add button. |
void |
setDeleteToolTipText(java.lang.String tooltip)
Set the tooltip for the delete button. |
void |
setEditToolTipText(java.lang.String tooltip)
Set the tooltip for the edit button. |
void |
setHelpToolTipText(java.lang.String tooltip)
Set the tooltip for the help button. |
void |
setReferenceToolTipText(java.lang.String tooltip)
Set the tooltip for the information button. |
void |
setReindexToolTipText(java.lang.String tooltip)
Set the tooltip for the reindex button. |
void |
setResOpEnabled(boolean onoff)
Enable or disable the resource operations. |
void |
setSaveToolTipText(java.lang.String tooltip)
Set the tooltip for the save button. |
void |
setStopToolTipText(java.lang.String tooltip)
Set the tooltip for the stop button. |
Methods inherited from class javax.swing.JToolBar |
---|
add, addImpl, addSeparator, addSeparator, createActionChangeListener, createActionComponent, getAccessibleContext, getComponentAtIndex, getComponentIndex, getMargin, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, isRollover, paintBorder, paramString, setBorderPainted, setFloatable, setLayout, setMargin, setOrientation, setRollover, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, 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, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, 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 |
---|
protected RemoteResourceWrapper control
protected java.util.Vector listeners
protected java.lang.String name
protected java.lang.String tooltip
protected static final java.lang.String SAVE_A
protected static final java.lang.String STOP_A
protected static final java.lang.String HELP_A
protected static final java.lang.String DELE_A
protected static final java.lang.String ADD_A
protected static final java.lang.String REIN_A
protected static final java.lang.String REFE_A
protected static final java.lang.String EDIT_A
protected java.lang.String saveBTT
protected java.lang.String stopBTT
protected java.lang.String helpBTT
protected java.lang.String deleBTT
protected java.lang.String addBTT
protected java.lang.String reinBTT
protected java.lang.String refeBTT
protected java.lang.String editBTT
Constructor Detail |
---|
public ControlServerHelper()
Method Detail |
---|
public void addResourceActionListener(ResourceActionListener listener)
addResourceActionListener
in interface ResourceActionSource
listener
- the ResourceActionListener to addpublic void removeResourceActionListener(ResourceActionListener listener)
removeResourceActionListener
in interface ResourceActionSource
listener
- the ResourceActionListener to removeprotected void fireResourceEvent(int type)
type
- the resource event typeorg.w3c.jigadmin.event.ResourceActionEvent
public void setResOpEnabled(boolean onoff)
onoff
- a boolean.public void setSaveToolTipText(java.lang.String tooltip)
tooltip
- the tooltippublic void setStopToolTipText(java.lang.String tooltip)
tooltip
- the tooltippublic void setHelpToolTipText(java.lang.String tooltip)
tooltip
- the tooltippublic void setDeleteToolTipText(java.lang.String tooltip)
tooltip
- the tooltippublic void setAddToolTipText(java.lang.String tooltip)
tooltip
- the tooltippublic void setReindexToolTipText(java.lang.String tooltip)
tooltip
- the tooltippublic void setReferenceToolTipText(java.lang.String tooltip)
tooltip
- the tooltippublic void setEditToolTipText(java.lang.String tooltip)
tooltip
- the tooltippublic void initialize(java.lang.String name, RemoteResourceWrapper rrw, java.util.Properties p)
initialize
in interface EditorInterface
name
- the editor namerrw
- the RemoteResourceWrapper wrapping the editor node.p
- the editor propertiesprotected void build()
public java.lang.String getName()
getName
in interface ServerHelperInterface
getName
in class java.awt.Component
public java.lang.String getToolTip()
getToolTip
in interface ServerHelperInterface
public java.awt.Component getComponent()
getComponent
in interface EditorInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |