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

Quick Search    Search Deep

ulu.view
Class Flagged  view Flagged download Flagged.java

java.lang.Object
  extended byjava.util.Observable
      extended byulu.view.Flagged
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UField, UMethod

public class Flagged
extends java.util.Observable
implements java.io.Serializable

Common base class for the UField and UMethod classes, allowing use of Flags Dave Crane ulunum, January 2003


Field Summary
static java.lang.String FLAG_ALLOWED_VALS
          commonly used key naming scheme: a Vector of allowed values for a combo-box-like parameter.
static java.lang.String FLAG_GROUP_MEMBERSHIP
          commonly used key naming scheme: the group ID to which this item is assigned
static java.lang.String FLAG_HIDDEN
          commonly used key naming scheme: denotes field is hidden from view.
static java.lang.String FLAG_OPTIONAL
          commonly used key naming scheme: denotes if parameter is optional in a method call
static java.lang.String FLAG_RETURN_INLINE
          commonly used key naming scheme : when attached to a UMethod, indicates that the method should return its result inline, rather than dropping a new object into the scrapbook (usually because its a small simple return type like a Number, String or URL that can be easily represented in a text box)
static java.lang.String FLAG_SUGGESTED_VALS
          commonly used key naming scheme: a Vector of suggested values that may be used.
 java.util.Hashtable flags
          optional flags, parameters etc.
static java.lang.String MEMBERSHIP_GROUP_DEFAULT_VISIBLE
          commonly used key naming scheme: indicates the default group to display when displaying an Item
static java.lang.String MEMBERSHIP_GROUP_GENERAL
          commonly-used kay value : denotes a general-purpose group for flagged members with no defined grouping of their own
static java.lang.String MEMBERSHIP_GROUP_UBIQUITOUS
          commonly-used kay value : denotes a membership group of high visibility, always present
 
Fields inherited from class java.util.Observable
 
Constructor Summary
Flagged()
           
 
Method Summary
 java.lang.Object get(java.lang.String key)
          get a property of this field
 void set(java.lang.String key, java.lang.Object val)
          add a property to the field or set an existing one
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flags

public java.util.Hashtable flags
optional flags, parameters etc. stored in a hash


FLAG_HIDDEN

public static java.lang.String FLAG_HIDDEN
commonly used key naming scheme: denotes field is hidden from view. Commonly used in method parameters where several methods called in succession, to maintain state between calls (old-style CGI programmers will recognise this trick


FLAG_OPTIONAL

public static java.lang.String FLAG_OPTIONAL
commonly used key naming scheme: denotes if parameter is optional in a method call


FLAG_ALLOWED_VALS

public static java.lang.String FLAG_ALLOWED_VALS
commonly used key naming scheme: a Vector of allowed values for a combo-box-like parameter. No other values will be permitted where this is set


FLAG_SUGGESTED_VALS

public static java.lang.String FLAG_SUGGESTED_VALS
commonly used key naming scheme: a Vector of suggested values that may be used. Alternative values may also be selected (by typing in string, selecting from a dialog, etc.)


FLAG_RETURN_INLINE

public static java.lang.String FLAG_RETURN_INLINE
commonly used key naming scheme : when attached to a UMethod, indicates that the method should return its result inline, rather than dropping a new object into the scrapbook (usually because its a small simple return type like a Number, String or URL that can be easily represented in a text box)


FLAG_GROUP_MEMBERSHIP

public static java.lang.String FLAG_GROUP_MEMBERSHIP
commonly used key naming scheme: the group ID to which this item is assigned


MEMBERSHIP_GROUP_DEFAULT_VISIBLE

public static java.lang.String MEMBERSHIP_GROUP_DEFAULT_VISIBLE
commonly used key naming scheme: indicates the default group to display when displaying an Item


MEMBERSHIP_GROUP_UBIQUITOUS

public static java.lang.String MEMBERSHIP_GROUP_UBIQUITOUS
commonly-used kay value : denotes a membership group of high visibility, always present


MEMBERSHIP_GROUP_GENERAL

public static java.lang.String MEMBERSHIP_GROUP_GENERAL
commonly-used kay value : denotes a general-purpose group for flagged members with no defined grouping of their own

Constructor Detail

Flagged

public Flagged()
Method Detail

get

public java.lang.Object get(java.lang.String key)
get a property of this field


set

public void set(java.lang.String key,
                java.lang.Object val)
add a property to the field or set an existing one