org.relayirc.swingui
Class GuiUser

java.lang.Object
  |
  +--org.relayirc.swingutil.GuiObject
        |
        +--org.relayirc.swingui.GuiUser

public class GuiUser
extends GuiObject

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

Version:
$Revision: 1.4.2.4 $

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 http://www.mozilla.org/MPL/

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.
Author:
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

WHOIS

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

SHOW_PROPERTIES

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.

ADD_USER

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

REMOVE_USER

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.

VERSION_USER

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

OP_USER

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

DEOP_USER

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

KICK_USER

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

BAN_USER

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

GuiUser

public GuiUser(User user)

GuiUser

public GuiUser(User user,
               Channel chan)
Method Detail

getAction

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

createPopupMenu

public javax.swing.JPopupMenu createPopupMenu()