public class InvDevicePanel extends ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType> implements ru.bitel.common.client.GroupParent
ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel.DeviceTableModel
ru.bitel.common.client.AbstractBGUPanel.AsyncAction<B>, ru.bitel.common.client.AbstractBGUPanel.DefaultAction, ru.bitel.common.client.AbstractBGUPanel.MenuAction
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static java.util.Set<java.lang.Integer> |
COPY_DEVICE_IDS |
protected javax.swing.Icon |
iconRoot |
ACTION_DEVICE_SELECT, ACTION_DEVICE_SELECTED, currentDay, defaultDeviceTypeIds, filter, iconFolder, iconLeaf, iconNode, mode, MODE_EDIT, MODE_FILTER, MODE_FILTER_SOURCE, MODE_SELECT, model, rootTitle, rootTitleSuffix, selectedDevice
CANCEL, CLOSE, DELETE, EDIT, EXPORT, ICON_DELETE, ICON_EDIT, ICON_NEW, ICON_REFRESH, IMPORT, MOVE_DOWN, MOVE_UP, NEW, OK, REFRESH, RESET
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
InvDevicePanel(ru.bitel.bgbilling.client.common.ClientContext ctx) |
InvDevicePanel(ru.bitel.bgbilling.client.common.ClientContext ctx,
int mode,
java.awt.event.ActionListener actionListener) |
Modifier and Type | Method and Description |
---|---|
InvDevice |
deviceSourceRoot() |
protected void |
executeCommand(InvDevice device,
java.lang.String operation) |
protected java.lang.Class<InvDevice> |
getDeviceClass() |
protected java.lang.Class<InetDeviceType> |
getDeviceTypeClass() |
javax.swing.Icon |
getIcon(InvDevice value) |
protected InvDevice |
getLoadingStateRoot() |
DeviceService |
getWs() |
protected void |
initActions() |
protected void |
initEditor(ru.bitel.bgbilling.client.common.BGEditor editor) |
protected void |
jbInit() |
InvDevice |
newDevice() |
InetDeviceType |
newDeviceType(int id,
java.lang.String title) |
protected javax.swing.JComponent |
treeWrap(ru.bitel.bgbilling.client.common.BGFilterPane splitPane) |
addNotify, deviceDelete, deviceGet, deviceMove, deviceRoot, deviceUpdate, getInvDeviceId, getSelectedDevice, getSelectedDeviceIds, getSelectedDevices, getTitle, isLibrary, needInterfacePanel, newMainForm, newModel, ok, performDeviceSelected, shownNotify
afterAsyncJbInit, beforeAsyncJbInit, build, buildAsync, getUserEmail, init, initAction, innerGetContext, openContract, openContract, processException, saveUserEmail, setParameter
actionPerformed, getContext, performAction, performAction, performAction, performActionClose, performActionOpen
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, 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, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, 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
add, add, add, add, add, addContainerListener, addImpl, 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, setLayout, transferFocusDownCycle, validate, validateTree
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, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, 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, transferFocusBackward, transferFocusUpCycle
public static final java.util.Set<java.lang.Integer> COPY_DEVICE_IDS
protected final javax.swing.Icon iconRoot
public InvDevicePanel(ru.bitel.bgbilling.client.common.ClientContext ctx)
public InvDevicePanel(ru.bitel.bgbilling.client.common.ClientContext ctx, int mode, java.awt.event.ActionListener actionListener)
protected void initEditor(ru.bitel.bgbilling.client.common.BGEditor editor)
initEditor
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
public javax.swing.Icon getIcon(InvDevice value)
getIcon
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
protected void initActions()
initActions
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
protected void jbInit()
jbInit
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
protected javax.swing.JComponent treeWrap(ru.bitel.bgbilling.client.common.BGFilterPane splitPane)
treeWrap
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
protected java.lang.Class<InvDevice> getDeviceClass()
getDeviceClass
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
public InvDevice newDevice()
newDevice
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
public InetDeviceType newDeviceType(int id, java.lang.String title)
newDeviceType
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
public DeviceService getWs()
getWs
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
public InvDevice deviceSourceRoot() throws ru.bitel.bgbilling.common.BGException
deviceSourceRoot
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
ru.bitel.bgbilling.common.BGException
protected java.lang.Class<InetDeviceType> getDeviceTypeClass()
getDeviceTypeClass
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
protected InvDevice getLoadingStateRoot()
getLoadingStateRoot
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
protected void executeCommand(InvDevice device, java.lang.String operation) throws ru.bitel.bgbilling.common.BGException
executeCommand
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InvDevice,InetDeviceType>
ru.bitel.bgbilling.common.BGException