|
||||||||||
| 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
tecgraf.javautils.gui.crud.gui.main.RegistrationMainPanel<M,I>
M - tipo do objeto do modelo.I - tipo do objeto da interface.public class RegistrationMainPanel<M,I>
Painel principal para cadastro.
| Nested Class Summary | |
|---|---|
static class |
RegistrationMainPanel.Mode
Modo |
| 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 |
|---|
| 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 | |
|---|---|
RegistrationMainPanel(IRegistrationDescriptor<M,I> descriptor,
Locale locale)
Construtor. |
|
RegistrationMainPanel(IRegistrationDescriptor<M,I> descriptor,
ResourceBundle bundle)
Construtor. |
|
| Method Summary | |
|---|---|
void |
addModeListener(RegistrationModeListener listener)
Adição de listener de modo |
void |
delModeListener(RegistrationModeListener listener)
Remoção de listener de modo |
IRegistrationDescriptor<M,I> |
getDescriptor()
Consulta descritor. |
RegistrationMainPanel.Mode |
getMode()
Consulta de modo. |
I |
getSelectedIHCObject()
Consulta a visão IHC do objeto selecionado. |
M |
getSelectedObject()
Consulta objeto selecionado. |
String |
getString(String tag)
Consulta texto para internacionalização. |
void |
refreshGUI()
Atualização de interface |
void |
setMode(RegistrationMainPanel.Mode mode)
Ajuste de modo. |
void |
signalObjectEdited(boolean flag)
Sinalização de objeto editado. |
| 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 |
| Constructor Detail |
|---|
public RegistrationMainPanel(IRegistrationDescriptor<M,I> descriptor,
Locale locale)
descriptor - descritorlocale - locale
public RegistrationMainPanel(IRegistrationDescriptor<M,I> descriptor,
ResourceBundle bundle)
descriptor - descritorbundle - | Method Detail |
|---|
public String getString(String tag)
tag - tag
public M getSelectedObject()
public IRegistrationDescriptor<M,I> getDescriptor()
public I getSelectedIHCObject()
public RegistrationMainPanel.Mode getMode()
public void setMode(RegistrationMainPanel.Mode mode)
mode - modopublic void addModeListener(RegistrationModeListener listener)
listener - listenerpublic void delModeListener(RegistrationModeListener listener)
listener - listenerpublic void refreshGUI()
public void signalObjectEdited(boolean flag)
flag - indicativo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||