Class marimba.gui.GroupWidget
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class marimba.gui.GroupWidget

java.lang.Object
   |
   +----marimba.gui.Widget
           |
           +----marimba.gui.ContainerWidget
                   |
                   +----marimba.gui.GroupWidget

public class GroupWidget
extends ContainerWidget
Group widget container. All widgets are containers, this widget however adds painting of the container background.
Version:
1.33, 12/18/96
Author:
Arthur van Hoff

Variable Index

 o editing
Enables or disables the use of the inline editor.
 o fillMode
The fillMode of this group.
 o fillOptions
The possible options for the fillMode.
 o lineMode
The type of line that is being displayed.
 o lineOptions
The possible options for the lineMode.
 o patsrc
The source of the pattern.
 o pattern
The pattern for the background.

Constructor Index

 o GroupWidget()

Method Index

 o getEditing()
Check whether the inline editor is being used.
 o getEditor()
Get the name of the class that can be used for in-place editing.
 o getFillMode()
Get the fill mode
 o getFillOptions()
Get the possible options for the fillMode.
 o getLineMode()
Get the line mode
 o getLineOptions()
Get the possible options for the lineMode.
 o getPattern()
Get the pattern.
 o getPatternSource()
Get the source of the pattern.
 o getProperties(PropertyList)
Get the properties.
 o init()
Initialize.
 o paint(Graphics, int, int, int, int)
Paint the background
 o paramString(StringBuffer)
Parameters.
 o setEditing(boolean)
Enable or disable the use of the inline editor.
 o setFillMode(int)
Set the line mode
 o setLineMode(int)
Set the line mode
 o setPattern(String)
Set the pattern and patternsource using the given source.
 o setProperties(PropertyList)
Set the properties.
 o update(Graphics)
Remember the translation
 o waitForPattern()
Wait for the pattern of this container to arrive...

Variables

 o fillOptions
  public static Options fillOptions
The possible options for the fillMode.
See Also:
getFillOptions, fillMode
 o lineOptions
  public static Options lineOptions
The possible options for the lineMode.
See Also:
getLineOptions, lineMode
 o lineMode
  public int lineMode
The type of line that is being displayed. It can be none, solid, raised or lowered.
See Also:
getLineMode, setLineMode, lineOptions
 o fillMode
  public int fillMode
The fillMode of this group. It can be none, solid or pattern.
See Also:
getFillMode, setFillMode, fillOptions
 o patsrc
  public String patsrc
The source of the pattern.
See Also:
getPatternSource, setPattern
 o pattern
  public Pattern pattern
The pattern for the background.
See Also:
getPattern, setPattern
 o editing
  public boolean editing
Enables or disables the use of the inline editor.
See Also:
getEditor, getEditing, setEditing

Constructors

 o GroupWidget
  public GroupWidget()

Methods

 o getProperties
  public void getProperties(PropertyList list)
Get the properties.
Overrides:
getProperties in class Widget
 o setProperties
  public void setProperties(PropertyList list)
Set the properties.
Overrides:
setProperties in class ContainerWidget
 o init
  public void init()
Initialize.
Overrides:
init in class Widget
 o getFillOptions
  public Options getFillOptions()
Get the possible options for the fillMode.
See Also:
fillOptions
 o getLineOptions
  public Options getLineOptions()
Get the possible options for the lineMode.
See Also:
lineOptions
 o getEditor
  public String getEditor()
Get the name of the class that can be used for in-place editing. This inline editor of the GroupWidget can be disabled by setting inline editing to true or false.
Overrides:
getEditor in class Widget
See Also:
editing
 o getEditing
  public boolean getEditing()
Check whether the inline editor is being used.
See Also:
editing
 o setEditing
  public void setEditing(boolean useEditor)
Enable or disable the use of the inline editor.
See Also:
editing
 o getLineMode
  public int getLineMode()
Get the line mode
See Also:
lineMode
 o setLineMode
  public void setLineMode(int lineMode)
Set the line mode
See Also:
lineMode
 o getFillMode
  public int getFillMode()
Get the fill mode
See Also:
fillMode
 o setFillMode
  public void setFillMode(int fillMode)
Set the line mode
See Also:
fillMode
 o getPattern
  public Pattern getPattern()
Get the pattern.
See Also:
pattern
 o getPatternSource
  public String getPatternSource()
Get the source of the pattern.
See Also:
patsrc
 o setPattern
  public void setPattern(String src)
Set the pattern and patternsource using the given source.
See Also:
pattern, patsrc
 o paint
  public void paint(Graphics g,
                    int cx,
                    int cy,
                    int cw,
                    int ch)
Paint the background
Overrides:
paint in class Widget
 o update
  public void update(Graphics g)
Remember the translation
Overrides:
update in class Widget
 o waitForPattern
  public void waitForPattern()
Wait for the pattern of this container to arrive...
 o paramString
  public void paramString(StringBuffer buf)
Parameters.
Overrides:
paramString in class Widget

All Packages  Class Hierarchy  This Package  Previous  Next  Index