jap
Class JAPViewIconified

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by javax.swing.JWindow
                  extended by jap.JAPViewIconified
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.RootPaneContainer

public final class JAPViewIconified
extends javax.swing.JWindow
implements java.awt.event.ActionListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JWindow
javax.swing.JWindow.AccessibleJWindow
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
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.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  boolean m_anonModeDisabled
           
private  JAPController m_Controller
           
private  GUIUtils.WindowDocker m_docker
           
private  java.awt.Font m_fontDlg
           
private static javax.swing.JFrame m_frameParent
           
private  javax.swing.JLabel m_labelAnon
           
private  javax.swing.JLabel m_labelBytes
           
private  javax.swing.JLabel m_labelTraffic
           
private  javax.swing.JLabel m_labelUsers
           
private  javax.swing.JLabel m_lblBytes
           
private  javax.swing.JLabel m_lblJAPIcon
           
private  AbstractJAPMainView m_mainView
           
private  java.text.NumberFormat m_NumberFormat
           
private  java.lang.Runnable m_runnableValueUpdate
           
private  JAPDialog ms_popupWindow
           
static java.lang.String MSG_ANON
           
static java.lang.String MSG_ANON_FAIR
           
static java.lang.String MSG_ANON_HIGH
           
static java.lang.String MSG_ANON_LOW
           
private static java.lang.String MSG_TT_SWITCH_ANONYMITY
           
private static long serialVersionUID
          serial version UID
private static java.lang.String STR_HIDDEN_WINDOW
           
private  java.lang.Object SYNC_CURSOR
           
static java.lang.String XML_LOCATION
           
 
Fields inherited from class javax.swing.JWindow
accessibleContext, rootPane, rootPaneCheckingEnabled
 
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
JAPViewIconified(AbstractJAPMainView a_mainView)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 void blink()
          Shows a blinking JAP icon.
 void channelsChanged(int c)
           
 void disableSetAnonMode()
           
 void dispose()
           
private static javax.swing.JFrame getParentFrame()
           
private  void init()
           
 void packetMixed(long a_totalBytes)
           
private  void setButtonBorder()
           
 void setVisible(boolean a_bVisible)
           
 void switchBackToMainView()
           
 void updateValues(boolean bSync)
           
private  void updateValues1()
           
 
Methods inherited from class javax.swing.JWindow
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update, windowInit
 
Methods inherited from class java.awt.Window
addNotify, addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
serial version UID

See Also:
Constant Field Values

XML_LOCATION

public static final java.lang.String XML_LOCATION
See Also:
Constant Field Values

MSG_ANON_LOW

public static final java.lang.String MSG_ANON_LOW

MSG_ANON_FAIR

public static final java.lang.String MSG_ANON_FAIR

MSG_ANON_HIGH

public static final java.lang.String MSG_ANON_HIGH

MSG_ANON

public static final java.lang.String MSG_ANON

MSG_TT_SWITCH_ANONYMITY

private static final java.lang.String MSG_TT_SWITCH_ANONYMITY

STR_HIDDEN_WINDOW

private static final java.lang.String STR_HIDDEN_WINDOW

m_frameParent

private static javax.swing.JFrame m_frameParent

m_Controller

private JAPController m_Controller

m_mainView

private AbstractJAPMainView m_mainView

m_labelBytes

private javax.swing.JLabel m_labelBytes

m_labelUsers

private javax.swing.JLabel m_labelUsers

m_labelTraffic

private javax.swing.JLabel m_labelTraffic

m_labelAnon

private javax.swing.JLabel m_labelAnon

m_lblJAPIcon

private javax.swing.JLabel m_lblJAPIcon

ms_popupWindow

private JAPDialog ms_popupWindow

m_lblBytes

private javax.swing.JLabel m_lblBytes

m_fontDlg

private java.awt.Font m_fontDlg

m_NumberFormat

private java.text.NumberFormat m_NumberFormat

m_anonModeDisabled

private boolean m_anonModeDisabled

SYNC_CURSOR

private java.lang.Object SYNC_CURSOR

m_docker

private GUIUtils.WindowDocker m_docker

m_runnableValueUpdate

private java.lang.Runnable m_runnableValueUpdate
Constructor Detail

JAPViewIconified

public JAPViewIconified(AbstractJAPMainView a_mainView)
Method Detail

getParentFrame

private static javax.swing.JFrame getParentFrame()

init

private void init()

setVisible

public void setVisible(boolean a_bVisible)
Overrides:
setVisible in class java.awt.Window

switchBackToMainView

public void switchBackToMainView()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

updateValues1

private void updateValues1()

dispose

public void dispose()
Overrides:
dispose in class java.awt.Window

disableSetAnonMode

public void disableSetAnonMode()

updateValues

public void updateValues(boolean bSync)

channelsChanged

public void channelsChanged(int c)

packetMixed

public void packetMixed(long a_totalBytes)

setButtonBorder

private void setButtonBorder()

blink

public void blink()
Shows a blinking JAP icon.