|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gnu.glib.Struct org.gnu.glib.GObject org.gnu.gtk.GtkObject org.gnu.gtk.Widget org.gnu.gtk.Container org.gnu.gtk.Table frysk.gui.monitor.DynamicWidget
public class DynamicWidget
Allows clients to easily create an argument entry widget without having to deal with widgets. Clients only have to specify the type of entries they require. more to come: more types, validation, etc as needed.
Nested Class Summary | |
---|---|
static interface |
DynamicWidget.IntCallback
|
static interface |
DynamicWidget.StringCallback
|
Constructor Summary | |
---|---|
DynamicWidget()
|
|
DynamicWidget(DynamicWidget other)
|
Method Summary | |
---|---|
void |
addInteger(GuiObject key,
int initValue,
DynamicWidget.IntCallback intCallback)
|
void |
addString(GuiObject key,
String initText,
DynamicWidget.StringCallback stringCallback)
Adds an @link Entry to the dynamic widget. |
Methods inherited from class org.gnu.gtk.Table |
---|
attach, attach, getColumnSpacing, getDefaultColumnSpacing, getDefaultRowSpacing, getHomogeneous, getRowSpacing, getTable, getType, resize, setColumnSpacing, setColumnSpacing, setHomogeneous, setRowSpacing, setRowSpacing |
Methods inherited from class org.gnu.gtk.Container |
---|
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getEventListenerClass, getEventType, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode |
Methods inherited from class org.gnu.gtk.Widget |
---|
activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight |
Methods inherited from class org.gnu.gtk.GtkObject |
---|
destroy, sink |
Methods inherited from class org.gnu.glib.GObject |
---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicWidget()
public DynamicWidget(DynamicWidget other)
Method Detail |
---|
public void addString(GuiObject key, String initText, DynamicWidget.StringCallback stringCallback)
key
- the key representing the entry to be added. It is used
to set the name and tool tip if the Label preceding the Entry.initText
- the text that the entry is initialized with.stringCallback
- the @link StringCallback object that will be
notified whey the text in the entry is edited.public void addInteger(GuiObject key, int initValue, DynamicWidget.IntCallback intCallback)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |