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
-
editing
- Enables or disables the use of the inline editor.
-
fillMode
- The fillMode of this group.
-
fillOptions
- The possible options for the fillMode.
-
lineMode
- The type of line that is being displayed.
-
lineOptions
- The possible options for the lineMode.
-
patsrc
- The source of the pattern.
-
pattern
- The pattern for the background.
-
GroupWidget()
-
-
getEditing()
- Check whether the inline editor is being used.
-
getEditor()
- Get the name of the class that can be used for
in-place editing.
-
getFillMode()
- Get the fill mode
-
getFillOptions()
- Get the possible options for the fillMode.
-
getLineMode()
- Get the line mode
-
getLineOptions()
- Get the possible options for the lineMode.
-
getPattern()
- Get the pattern.
-
getPatternSource()
- Get the source of the pattern.
-
getProperties(PropertyList)
- Get the properties.
-
init()
- Initialize.
-
paint(Graphics, int, int, int, int)
- Paint the background
-
paramString(StringBuffer)
- Parameters.
-
setEditing(boolean)
- Enable or disable the use of the inline editor.
-
setFillMode(int)
- Set the line mode
-
setLineMode(int)
- Set the line mode
-
setPattern(String)
- Set the pattern and patternsource using the given source.
-
setProperties(PropertyList)
- Set the properties.
-
update(Graphics)
- Remember the translation
-
waitForPattern()
- Wait for the pattern of this container to arrive...
fillOptions
public static Options fillOptions
- The possible options for the fillMode.
- See Also:
- getFillOptions, fillMode
lineOptions
public static Options lineOptions
- The possible options for the lineMode.
- See Also:
- getLineOptions, lineMode
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
fillMode
public int fillMode
- The fillMode of this group.
It can be none, solid or pattern.
- See Also:
- getFillMode, setFillMode, fillOptions
patsrc
public String patsrc
- The source of the pattern.
- See Also:
- getPatternSource, setPattern
pattern
public Pattern pattern
- The pattern for the background.
- See Also:
- getPattern, setPattern
editing
public boolean editing
- Enables or disables the use of the inline editor.
- See Also:
- getEditor, getEditing, setEditing
GroupWidget
public GroupWidget()
getProperties
public void getProperties(PropertyList list)
- Get the properties.
- Overrides:
- getProperties in class Widget
setProperties
public void setProperties(PropertyList list)
- Set the properties.
- Overrides:
- setProperties in class ContainerWidget
init
public void init()
- Initialize.
- Overrides:
- init in class Widget
getFillOptions
public Options getFillOptions()
- Get the possible options for the fillMode.
- See Also:
- fillOptions
getLineOptions
public Options getLineOptions()
- Get the possible options for the lineMode.
- See Also:
- lineOptions
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
getEditing
public boolean getEditing()
- Check whether the inline editor is being used.
- See Also:
- editing
setEditing
public void setEditing(boolean useEditor)
- Enable or disable the use of the inline editor.
- See Also:
- editing
getLineMode
public int getLineMode()
- Get the line mode
- See Also:
- lineMode
setLineMode
public void setLineMode(int lineMode)
- Set the line mode
- See Also:
- lineMode
getFillMode
public int getFillMode()
- Get the fill mode
- See Also:
- fillMode
setFillMode
public void setFillMode(int fillMode)
- Set the line mode
- See Also:
- fillMode
getPattern
public Pattern getPattern()
- Get the pattern.
- See Also:
- pattern
getPatternSource
public String getPatternSource()
- Get the source of the pattern.
- See Also:
- patsrc
setPattern
public void setPattern(String src)
- Set the pattern and patternsource using the given source.
- See Also:
- pattern, patsrc
paint
public void paint(Graphics g,
int cx,
int cy,
int cw,
int ch)
- Paint the background
- Overrides:
- paint in class Widget
update
public void update(Graphics g)
- Remember the translation
- Overrides:
- update in class Widget
waitForPattern
public void waitForPattern()
- Wait for the pattern of this container to arrive...
paramString
public void paramString(StringBuffer buf)
- Parameters.
- Overrides:
- paramString in class Widget
All Packages Class Hierarchy This Package Previous Next Index