Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

plugins.CsBeagle
Class BuddyEntry  view BuddyEntry download BuddyEntry.java

java.lang.Object
  extended byplugins.CsBeagle.BuddyEntry
All Implemented Interfaces:
dexter.core.Entry

public class BuddyEntry
extends java.lang.Object
implements dexter.core.Entry


Field Summary
(package private)  Buddy buddy
           
(package private)  javax.swing.ImageIcon offlineIcon
           
(package private)  javax.swing.ImageIcon onlineIcon
           
protected  javax.swing.JPopupMenu popup
           
private  javax.swing.Action showServerInfoDlg
           
 
Constructor Summary
BuddyEntry(Buddy buddy)
          Creates a new instance of BuddyEntry
 
Method Summary
 void fireSelected()
           
 java.awt.Font getFont()
           
 javax.swing.ImageIcon getIcon()
           
 javax.swing.JPopupMenu getPopupMenu()
           
 java.lang.String getToolTipText()
           
 void setShowServerInfoDlgAction(javax.swing.Action showServerInfoDlg)
           
 void showServerInfoDlg()
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

buddy

Buddy buddy

popup

protected javax.swing.JPopupMenu popup

showServerInfoDlg

private javax.swing.Action showServerInfoDlg

onlineIcon

javax.swing.ImageIcon onlineIcon

offlineIcon

javax.swing.ImageIcon offlineIcon
Constructor Detail

BuddyEntry

public BuddyEntry(Buddy buddy)
Creates a new instance of BuddyEntry

Method Detail

fireSelected

public void fireSelected()
Specified by:
fireSelected in interface dexter.core.Entry

getFont

public java.awt.Font getFont()
Specified by:
getFont in interface dexter.core.Entry

getIcon

public javax.swing.ImageIcon getIcon()
Specified by:
getIcon in interface dexter.core.Entry

getPopupMenu

public javax.swing.JPopupMenu getPopupMenu()
Specified by:
getPopupMenu in interface dexter.core.Entry

getToolTipText

public java.lang.String getToolTipText()
Specified by:
getToolTipText in interface dexter.core.Entry

setShowServerInfoDlgAction

public void setShowServerInfoDlgAction(javax.swing.Action showServerInfoDlg)

showServerInfoDlg

public void showServerInfoDlg()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).