|
|||||||||
| Home >> All >> org >> modama >> [ tools overview ] | PREV NEXT | ||||||||
A
- AbstractDialog - class org.modama.tools.AbstractDialog.
- a frame for creating dialogs
you have to implement the following functions:
setupGUI create, add and layout the components
setupEvents setup the events for the components
updateGUI set the values of the components (from the model) - AbstractDialog() - Constructor for class org.modama.tools.AbstractDialog
- AbstractDialog(Frame, String) - Constructor for class org.modama.tools.AbstractDialog
- AbstractList_ListModel - class org.modama.tools.AbstractList_ListModel.
- implements a
java.util.Listthat can directly be used as a listmodel
since multiinheritance is not possible, there are 2 possibilitys:
implementing the List interface, and inherit from AbstractListModel
or implementing the ListModel interface and inheritating from AbstractList
i took the first method because some of the List methods have to changed anyhow, to let them fire changeevents - AbstractList_ListModel(AbstractList) - Constructor for class org.modama.tools.AbstractList_ListModel
- add(Object) - Method in class org.modama.tools.AbstractList_ListModel
- add(int, Object) - Method in class org.modama.tools.AbstractList_ListModel
- add(Object, Object) - Static method in class org.modama.tools.Cache
- adds a key value pair to the cache
- addAll(Collection) - Method in class org.modama.tools.AbstractList_ListModel
- addAll(int, Collection) - Method in class org.modama.tools.AbstractList_ListModel
- addLayoutComponent(String, Component) - Method in class org.modama.tools.ParameterLayout
- addLayoutComponent(Component, Object) - Method in class org.modama.tools.ParameterLayout
- autosizeleft - Variable in class org.modama.tools.ParameterLayout
- autosizeright - Variable in class org.modama.tools.ParameterLayout
B
- BeanCloner - class org.modama.tools.BeanCloner.
- a tool that uses introspection to set all the props of one bean to the same values as the props of a second bean (same type)
- BeanCloner() - Constructor for class org.modama.tools.BeanCloner
C
- CLEANUP - Static variable in class org.modama.tools.Cache
- every this value times the create method is used old elements are removed from the cache
- Cache - class org.modama.tools.Cache.
- an abstract base clase that hase a static create method where an object is created from a given object, the new created object is cached in a hashmap using the hashcode of the fiven object as key
- Cache() - Constructor for class org.modama.tools.Cache
- Cache.CacheElement - class org.modama.tools.Cache.CacheElement.
- a element in the cache with the time of last use and creation
- Cache.CacheElement(Object) - Constructor for class org.modama.tools.Cache.CacheElement
- cach - Static variable in class org.modama.tools.Cache
- a hashmap where the hashcode of the originsl image is the key for the thumbnail
- cancel - Variable in class org.modama.tools.AbstractDialog
- cancelClicked() - Method in class org.modama.tools.AbstractDialog
- center - Variable in class org.modama.tools.AbstractDialog
- clear() - Method in class org.modama.tools.AbstractList_ListModel
- clearCache() - Static method in class org.modama.tools.Cache
- clears the complete cache
- clearCache(Object) - Static method in class org.modama.tools.Cache
- clears the cache for the given object
- clearCache(long) - Static method in class org.modama.tools.Cache
- clears all elements older the olderthen
- clone(Object, Object, Class) - Static method in class org.modama.tools.BeanCloner
- sets all props of dst to the values of src (src and dest has to be of the same type)
- cnt - Static variable in class org.modama.tools.Cache
- a counter that is incremented each time a thumbnail is requested
- container - Variable in class org.modama.tools.MouseRedispatcher
- contains(Object) - Method in class org.modama.tools.AbstractList_ListModel
- containsAll(Collection) - Method in class org.modama.tools.AbstractList_ListModel
- create() - Static method in class org.modama.tools.Cache
- call this in your create method, it runs the cleanup
- createTime - Variable in class org.modama.tools.Cache.CacheElement
F
- finishedok - Variable in class org.modama.tools.AbstractDialog
- to know wether the dialog was finished by OK or not
G
- get(int) - Method in class org.modama.tools.AbstractList_ListModel
- getCached(Object) - Static method in class org.modama.tools.Cache
- getElementAt(int) - Method in class org.modama.tools.AbstractList_ListModel
- getLastUseTime() - Method in class org.modama.tools.Cache.CacheElement
- getLayoutAlignmentX(Container) - Method in class org.modama.tools.ParameterLayout
- Returns the alignment along the x axis.
- getLayoutAlignmentY(Container) - Method in class org.modama.tools.ParameterLayout
- Returns the alignment along the y axis.
- getLayoutSize(Container) - Method in class org.modama.tools.ParameterLayout
- getObject() - Method in class org.modama.tools.Cache.CacheElement
- getSize() - Method in class org.modama.tools.AbstractList_ListModel
H
- heightofallcomps - Variable in class org.modama.tools.ParameterLayout
- the height of all the components
I
- indexOf(Object) - Method in class org.modama.tools.AbstractList_ListModel
- init() - Method in class org.modama.tools.AbstractDialog
- invalidateLayout(Container) - Method in class org.modama.tools.ParameterLayout
- Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
- isEmpty() - Method in class org.modama.tools.AbstractList_ListModel
- isFinishedByeOK() - Method in class org.modama.tools.AbstractDialog
- iterator() - Method in class org.modama.tools.AbstractList_ListModel
L
- lastIndexOf(Object) - Method in class org.modama.tools.AbstractList_ListModel
- lastuseTime - Variable in class org.modama.tools.Cache.CacheElement
- layoutContainer(Container) - Method in class org.modama.tools.ParameterLayout
- left - Variable in class org.modama.tools.ParameterLayout
- list - Variable in class org.modama.tools.AbstractList_ListModel
- the collection
- listIterator() - Method in class org.modama.tools.AbstractList_ListModel
- listIterator(int) - Method in class org.modama.tools.AbstractList_ListModel
M
- MouseRedispatcher - class org.modama.tools.MouseRedispatcher.
- a class that can be registered for the glasspane of a frame or internalframe
it will redispatch the events to the commponents of the contentPane (contentpane and glasspane have to be specified in the constructor) - MouseRedispatcher(Component, Container) - Constructor for class org.modama.tools.MouseRedispatcher
- maximumLayoutSize(Container) - Method in class org.modama.tools.ParameterLayout
- Returns the maximum size of this component.
- minimumLayoutSize(Container) - Method in class org.modama.tools.ParameterLayout
- mouseClicked(MouseEvent) - Method in class org.modama.tools.MouseRedispatcher
- mouseDragged(MouseEvent) - Method in class org.modama.tools.MouseRedispatcher
- mouseEntered(MouseEvent) - Method in class org.modama.tools.MouseRedispatcher
- mouseExited(MouseEvent) - Method in class org.modama.tools.MouseRedispatcher
- mouseMoved(MouseEvent) - Method in class org.modama.tools.MouseRedispatcher
- mousePressed(MouseEvent) - Method in class org.modama.tools.MouseRedispatcher
- mouseReleased(MouseEvent) - Method in class org.modama.tools.MouseRedispatcher
N
- north - Variable in class org.modama.tools.AbstractDialog
O
- OLDERTHEN - Static variable in class org.modama.tools.Cache
- elements older than 10 minutes are removes
- o - Variable in class org.modama.tools.Cache.CacheElement
- ok - Variable in class org.modama.tools.AbstractDialog
- okClicked() - Method in class org.modama.tools.AbstractDialog
- can be overriden, should check the inputvalues, if they are ok, finishedok has to be set to true
- org.modama.tools - package org.modama.tools
P
- PanelToDialogWrapper - class org.modama.tools.PanelToDialogWrapper.
- a class that is initialised with a panel, wich is shown in a dialog
- PanelToDialogWrapper(String, JComponent) - Constructor for class org.modama.tools.PanelToDialogWrapper
- ParameterLayout - class org.modama.tools.ParameterLayout.
- Einfacher Layoutmanager, stellt Components untereinander dar, zu jedem Field sollte ein String übergeben werden, welcher als Label vor dem Field angezeigt wird die groese der rechten und linken seite kann angegeben werden, oder automatisch bestimmt werden (0 oder keine parameter uebergeben)
- ParameterLayout(Container) - Constructor for class org.modama.tools.ParameterLayout
- ParameterLayout(Container, int, int) - Constructor for class org.modama.tools.ParameterLayout
- panel - Variable in class org.modama.tools.PanelToDialogWrapper
- parent - Variable in class org.modama.tools.MouseRedispatcher
- parent - Variable in class org.modama.tools.ParameterLayout
- preferredLayoutSize(Container) - Method in class org.modama.tools.ParameterLayout
R
- ratio - Variable in class org.modama.tools.ParameterLayout
- redispatchMouseEvent(MouseEvent) - Method in class org.modama.tools.MouseRedispatcher
- redispatches the event
- find point in contentpane
- get the comonent at this position
- create the mouseevent for this component and redispatch it to it - remove(Object) - Method in class org.modama.tools.AbstractList_ListModel
- remove(int) - Method in class org.modama.tools.AbstractList_ListModel
- removeAll(Collection) - Method in class org.modama.tools.AbstractList_ListModel
- removeLayoutComponent(Component) - Method in class org.modama.tools.ParameterLayout
- retainAll(Collection) - Method in class org.modama.tools.AbstractList_ListModel
- right - Variable in class org.modama.tools.ParameterLayout
S
- set(int, Object) - Method in class org.modama.tools.AbstractList_ListModel
- setupEvents() - Method in class org.modama.tools.AbstractDialog
- is called in the constructor to setup the events
- setupGUI() - Method in class org.modama.tools.AbstractDialog
- is called in the constructor to build the gui
- setupGUI() - Method in class org.modama.tools.PanelToDialogWrapper
- showDialog() - Method in class org.modama.tools.AbstractDialog
- size() - Method in class org.modama.tools.AbstractList_ListModel
- south - Variable in class org.modama.tools.AbstractDialog
- subList(int, int) - Method in class org.modama.tools.AbstractList_ListModel
T
- toArray() - Method in class org.modama.tools.AbstractList_ListModel
- toArray(Object[]) - Method in class org.modama.tools.AbstractList_ListModel
U
- updateGUI() - Method in class org.modama.tools.AbstractDialog
- is called befor showing the dialog to set the actual values
- updateGUI() - Method in class org.modama.tools.PanelToDialogWrapper
- used() - Method in class org.modama.tools.Cache.CacheElement
A B C F G H I L M N O P R S T U
|
|||||||||
| Home >> All >> org >> modama >> [ tools overview ] | PREV NEXT | ||||||||