|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
net.pleso.framework.client.ui.windows.Window
net.pleso.framework.client.ui.custom.CustomRBWindow
public class CustomRBWindow
Customizable form for reference books. Builds action sliders (search, edit,
insert, etc.), buttons and DataGridWrapper
by business-logic
interfaces (see IRB
etc.)
Constructor Summary | |
---|---|
CustomRBWindow(IRB rb)
Overloaded constructor for normal (CustomRBType.Normal) reference books without parent sliders and search. |
|
CustomRBWindow(Slider parentSlider,
IRB rb,
boolean forceSearch)
Overloaded constructor for normal (CustomRBType.Normal) reference books. |
|
CustomRBWindow(Slider parentSlider,
IRB rb,
boolean forceSearch,
CustomRBType type)
Constructor. |
Method Summary | |
---|---|
void |
controlUpdated(IBindableDataControl sender)
Fired when control updated some unamanaged by it data. |
IDataRow |
getSelectedRow()
Gets current selected row in reference book |
void |
hideWindow()
Hides window. |
void |
onClick(com.google.gwt.user.client.ui.Widget sender)
|
void |
onHideWindow(IWindow sender)
Fired when the window has been hidden. |
void |
selectionChanged(DataGrid sender)
Calls when selected row in grid was changed |
Methods inherited from class net.pleso.framework.client.ui.windows.Window |
---|
addHideWindowListener, addWindowCaptionChangeListener, getCaption, getParentSlider, getWidget, isHidden, removeHideWindowListener, removeWindowCaptionChangeListener, scrollToTop, setCaption, setParentSlider, show |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getElement |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
getParent, isAttached, onBrowserEvent, removeFromParent |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleName, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, isVisible, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomRBWindow(Slider parentSlider, IRB rb, boolean forceSearch, CustomRBType type)
parentSlider
- parent-slider for this from.rb
- business-logic class of reference book.forceSearch
- if forceSearch = true, reference book not loads the data and
shows search form. If forceSearch = false, reference book
loads the data immediately.type
- type of custom form.public CustomRBWindow(Slider parentSlider, IRB rb, boolean forceSearch)
parentSlider
- parent-slider for this from.rb
- business-logic class of reference book.forceSearch
- if forceSearch = true, reference book not loads the data and
shows search form. If forceSearch = false, reference book
loads the data immediately.public CustomRBWindow(IRB rb)
rb
- business-logic class of reference book.Method Detail |
---|
public void onClick(com.google.gwt.user.client.ui.Widget sender)
onClick
in interface com.google.gwt.user.client.ui.ClickListener
public IDataRow getSelectedRow()
public void selectionChanged(DataGrid sender)
IDataGridEventListener
selectionChanged
in interface IDataGridEventListener
sender
- DataGrid
owner of rowpublic void onHideWindow(IWindow sender)
HideWindowListener
onHideWindow
in interface HideWindowListener
sender
- the IWindow
has been hiddenpublic void controlUpdated(IBindableDataControl sender)
IUpdateControlListener
controlUpdated
in interface IUpdateControlListener
sender
- the IBindableDataControl
which caused data updatepublic void hideWindow()
IWindow
hideWindow
in interface IWindow
hideWindow
in class Window
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |