|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
jview.JGridBag
public class JGridBag
A simple panel layed out as a gridbag, where the individual components are createdable from properties and are position in the gridbag as required.
| Nested Class Summary | |
|---|---|
static class |
JGridBag.Client
We load the main properties on the command line, create the webcams and display them. |
static class |
JGridBag.Server
We load the main properties on the command line, create the webcams and display them. |
static class |
JGridBag.Webcams
We load the main properties on the command line, create the webcams and display them. |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
private ResourceSupplying |
info
My properties, composed from a PropertyBundles. |
static String |
KEY_COMPONENTS
The components in the first row. |
static String |
KEY_POSITIONS
The components in the second row. |
static String |
KEY_ROBOTBOUND
If this property is true, we are bound. |
static String |
KEY_ROBOTSEQUENCE
A mouse roboter for (random) animation. |
static String |
KEY_ROBOTSERVER
If this property is set, we bind as a gesture robot. |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JGridBag(Map<String,String> prop)
Constructs a new webcam grid. |
|
| Method Summary | |
|---|---|
protected void |
createRepresentation()
Delivers the central component. |
ResourceSupplying |
getComposedProperties()
Returns the ResourceSupplyings this frame refers to. |
void |
setComposedProperties(ResourceSupplying prop)
Sets a ResourceSupplying object as a composite of the canvas. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String KEY_COMPONENTS
public static final String KEY_POSITIONS
public static final String KEY_ROBOTSEQUENCE
public static final String KEY_ROBOTSERVER
public static final String KEY_ROBOTBOUND
private ResourceSupplying info
PropertyBundles.
| Constructor Detail |
|---|
public JGridBag(Map<String,String> prop)
| Method Detail |
|---|
public void setComposedProperties(ResourceSupplying prop)
ResourceSupplying object as a composite of the canvas.
Defaults the necessary parameter.
setComposedProperties in interface ResourceAwarepublic ResourceSupplying getComposedProperties()
ResourceSupplyings this frame refers to.
getComposedProperties in interface ResourceComposedprotected void createRepresentation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||