Class GuiUser


public class GuiUser
extends GuiObject

A GuiObject that represents a user: creates user actions and user popups.

$Revision: $

The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Original Code: Relay-JFC Chat Client
Initial Developer: David M. Johnson
Contributor(s): No contributors to this file
Copyright (C) 1997-2000 by David M. Johnson
All Rights Reserved.
David M. Johnson

Field Summary
static java.lang.String ADD_USER
          Action name for the ADD_USER action.
static java.lang.String BAN_USER
          Action name for BAN_USER action.
static java.lang.String DEOP_USER
          Action name for DEOP_USER action.
static java.lang.String KICK_USER
          Action name for KICK_USER action.
static java.lang.String OP_USER
          Action name for OP_USER action.
static java.lang.String REMOVE_USER
          Action name for the REMOVE_USER action.
static java.lang.String SHOW_PROPERTIES
          Action name for the SHOW_PROPERTIES action.
static java.lang.String VERSION_USER
          Action name for VERSION_USER action.
static java.lang.String WHOIS
          Action name for the WHOIS action.
Constructor Summary
GuiUser(User user)
GuiUser(User user, Channel chan)
Method Summary
 javax.swing.JPopupMenu createPopupMenu()
 IChatAction getAction(java.lang.String actionName)
          Get action by name.
Methods inherited from class org.relayirc.swingutil.GuiObject
getIcon, getObject, getString, setIcon, setObject, setString, setStringLength, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public static final java.lang.String WHOIS
Action name for the WHOIS action.


public static final java.lang.String SHOW_PROPERTIES
Action name for the SHOW_PROPERTIES action. This action will pop-up the Propeties Dialog (PropDlg). Requires a property named ChatObject whose value is an IChatObject.


public static final java.lang.String ADD_USER
Action name for the ADD_USER action.


public static final java.lang.String REMOVE_USER
Action name for the REMOVE_USER action. Requires a property named User with a User as its value.


public static final java.lang.String VERSION_USER
Action name for VERSION_USER action.


public static final java.lang.String OP_USER
Action name for OP_USER action.


public static final java.lang.String DEOP_USER
Action name for DEOP_USER action.


public static final java.lang.String KICK_USER
Action name for KICK_USER action.


public static final java.lang.String BAN_USER
Action name for BAN_USER action.
Constructor Detail


public GuiUser(User user)


public GuiUser(User user,
               Channel chan)
Method Detail


public IChatAction getAction(java.lang.String actionName)
Get action by name.


public javax.swing.JPopupMenu createPopupMenu()