|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--marimba.gui.Widget
|
+--marimba.gui.ContainerWidget
|
+--marimba.gui.GroupWidget
Group widget container.
All widgets are containers, this widget however
adds painting of the container background.
| Field Summary | |
boolean |
editing
Enables or disables the use of the inline editor. |
int |
fillMode
The fillMode of this group. It can be none, solid or pattern. |
protected static Options |
fillOptions
The possible options for the fillMode. |
int |
lineMode
The type of line that is being displayed. It can be none, solid, raised or lowered. |
protected static Options |
lineOptions
The possible options for the lineMode. |
java.lang.String |
patsrc
The source of the pattern. |
Pattern |
pattern
The pattern for the background. |
protected int |
prevtx
|
protected int |
prevty
|
| Fields inherited from class marimba.gui.ContainerWidget |
content |
| Fields inherited from class marimba.gui.Widget |
adapter, background, clazz, defaultBackground, defaultFont, defaultForeground, defaultHilite, directGraphics, disabled, east, editor, focus, font, foreground, height, hilite, layoutMgr, name, north, nwidgets, parent, script, south, tip, transparent, tx, ty, valid, visible, wBackground, west, wFont, wForeground, wHilite, widgets, width, wScript, wTip, x, y |
| Fields inherited from interface marimba.gui.WidgetConstants |
ALWAYS, ANYWHERE, APPLET, ASCENDING, BLINK, BLUE, BONGO_EVENT, BOTH, BOTTOM, BOXED, BUTTON, CENTER, CHAR, CHECK, COLLAPSE_EVENT, CONTENT, DESCENDING, DETACHED, DIAGONAL, DOWN, DRAG, EXCLUSIVE, EXPAND_EVENT, FILL, FILLED, GREEN, HORIZONTAL, INSIDE, INVISIBLE, JAVA_VERSION, JAVAOS, JDK10, JDK11, LAYERS, LEFT, LOWERED, MAC, MULTIPLE, NETCASTER, NETSCAPE, NEVER, NONE, NT, OPTIONAL, OS_ARCH, OS_NAME, OS_VERSION, OUTLINE, PAGE_DOWN, PAGE_EVENT, PAGE_UP, PATTERN, PC, PICTURE, PLAIN, PROPORTIONAL, RADIO, RAISED, RED, REST_EVENT, RIGHT, ROUNDED, SCALE, SCROLLBAR, SCROLLING, SOLID, SQUARE, TEXT_CHANGED_EVENT, TOP, TOPLEFT, TRUNCATE, UNDERLINE, UNIX, UP, VERTICAL, WAKE_EVENT, WIN95, WINDOWS, WORD |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
GroupWidget()
|
|
| Method Summary | |
boolean |
getEditing()
Check whether the inline editor is being used. |
java.lang.String |
getEditor()
Get the name of the class that can be used for in-place editing. |
int |
getFillMode()
Get the fill mode. |
static Options |
getFillOptions()
Get the possible options for the fillMode. |
int |
getLineMode()
Get the line mode. |
static Options |
getLineOptions()
Get the possible options for the lineMode. |
Pattern |
getPattern()
Get the pattern. |
java.lang.String |
getPatternSource()
Get the source of the pattern. |
void |
getProperties(PropertyList list)
Get the properties. |
void |
init()
Initialize this group widget. |
void |
paint(java.awt.Graphics g,
int cx,
int cy,
int cw,
int ch)
Paint the background |
void |
paramString(java.lang.StringBuffer buf)
Parameters. |
void |
setEditing(boolean useEditor)
Enable or disable the use of the inline editor. |
void |
setFillMode(int fillMode)
Set the fill mode. |
void |
setLineMode(int lineMode)
Set the line mode. |
void |
setPattern(java.lang.String src)
Set the pattern and patternsource using the given source. |
void |
setProperties(PropertyList list)
Set the properties. |
void |
update(java.awt.Graphics g)
Update. |
protected void |
updateArea(java.awt.Graphics g,
int x,
int y,
int width,
int height)
Update a portion of the widget. |
void |
waitForPattern()
Wait for the pattern of this container to arrive... |
| Methods inherited from class marimba.gui.ContainerWidget |
findInFocus, findWidget, firstInFocus, getChildProperties, getContent, getPreferredSize, layout, newContent, nextInFocus, previousInFocus |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int prevtx
protected int prevty
protected static Options fillOptions
getFillOptions(),
fillModeprotected static Options lineOptions
getLineOptions(),
lineModepublic int lineMode
getLineMode(),
setLineMode(int),
lineOptionspublic int fillMode
getFillMode(),
setFillMode(int),
fillOptionspublic java.lang.String patsrc
getPatternSource(),
setPattern(java.lang.String)public Pattern pattern
getPattern(),
setPattern(java.lang.String)public boolean editing
getEditor(),
getEditing(),
setEditing(boolean)| Constructor Detail |
public GroupWidget()
| Method Detail |
public void getProperties(PropertyList list)
getProperties in class Widgetmarimba.gui.Widgetlist - The list in which the current state needs to be saved.Widget.setProperties(PropertyList)public void setProperties(PropertyList list)
setProperties in class ContainerWidgetmarimba.gui.Widgetlist - The list that contains the new widget state.Widget.getProperties(PropertyList)public void init()
init in class Widgetpublic static Options getFillOptions()
fillOptionspublic static Options getLineOptions()
lineOptionspublic java.lang.String getEditor()
getEditor in class Widgeteditingpublic boolean getEditing()
editingpublic void setEditing(boolean useEditor)
editingpublic int getLineMode()
lineModepublic void setLineMode(int lineMode)
lineModepublic int getFillMode()
fillModepublic void setFillMode(int fillMode)
fillModepublic Pattern getPattern()
patternpublic java.lang.String getPatternSource()
patsrcpublic void setPattern(java.lang.String src)
pattern,
patsrc
public void paint(java.awt.Graphics g,
int cx,
int cy,
int cw,
int ch)
paint in class Widgetpublic void update(java.awt.Graphics g)
update in class Widget
protected void updateArea(java.awt.Graphics g,
int x,
int y,
int width,
int height)
public void waitForPattern()
public void paramString(java.lang.StringBuffer buf)
paramString in class Widgetmarimba.gui.WidgetWidget.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||