public class IdAttributesSelection extends java.lang.Object implements java.io.Serializable, ModalPopup.IModalPopupListener
ModalPopup.createInstance()
or @line #createInstanceWithExplanation(String) in order
to get an instance, then fill values via @link #addLine(String, String)
and specify the call back. You can select two call back options: either
just the selected id via @link #setCallBack(ISetId) or the selected id and
its text via @link #setCallBack(ISetIdText).| Modifier and Type | Class and Description |
|---|---|
static class |
IdAttributesSelection.IdAttributesLine |
class |
IdAttributesSelection.IdAttributesLineGrid |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
m_explanation |
| Modifier and Type | Method and Description |
|---|---|
IdAttributesSelection.IdAttributesLine |
addLine(java.lang.String id,
java.lang.String[] attributes)
Adds a line to the list of valid values.
|
void |
clear()
Clears all items.
|
static IdAttributesSelection |
createInstance(java.lang.String[] titles,
java.lang.String[] widths)
Creates a normal instance that is presented to the user as straight list.
|
static IdAttributesSelection |
createInstance(java.lang.String[] titles,
java.lang.String[] widths,
boolean allDataToClient) |
FIXGRIDListBinding<IdAttributesSelection.IdAttributesLine> |
getLines() |
java.lang.String |
getRequestFocus() |
int |
getRowHeight() |
boolean |
getSuppressHeadline() |
boolean |
getWithHeader() |
void |
onCancel(ActionEvent event) |
void |
onOK(ActionEvent event) |
void |
onPopupClosedByUser(ActionEvent ae)
Internal usage.
|
void |
preselect(java.lang.String id)
Preselects the corresponding item: the item is selected and
the list is scrolled so that the item is visible.
|
void |
processSelectLine(IdAttributesSelection.IdAttributesLine line)
Internal usage.
|
void |
reactOnPopupClosedByUser()
Internal usage.
|
void |
setCallBack(ISetId callBack)
Specifies a call back.
|
void |
setCallBack(ISetIdAttributes callBack)
Specifies a call back.
|
void |
setPopupHeight(int height)
Set the width of the popup that is opened.
|
void |
setPopupWidth(int width)
Set the height of the popup that is opened.
|
void |
setRow(ROWComponent row)
Internally used.
|
void |
setRowHeight(int rowHeight)
Explicitly set the row height that is used within the grid.
|
void |
setSuppressHeadline(boolean value)
If set to "true" then the grid head line is not shown but only
the grid content is shown.
|
void |
setWithHeader(boolean value) |
public static IdAttributesSelection createInstance(java.lang.String[] titles, java.lang.String[] widths)
public java.lang.String getRequestFocus()
public static IdAttributesSelection createInstance(java.lang.String[] titles, java.lang.String[] widths, boolean allDataToClient)
allDataToClient - IF setting this parameter to true, then all data you pass will be transferred
to the client in on step. By default the data in the value help popup is
loaded by using server side scrolling - i.e. with every scrolling operation
data is re-loaded from the server side.public void setRowHeight(int rowHeight)
public int getRowHeight()
public void setRow(ROWComponent row)
public void clear()
public IdAttributesSelection.IdAttributesLine addLine(java.lang.String id, java.lang.String[] attributes)
public void setCallBack(ISetId callBack)
public void setCallBack(ISetIdAttributes callBack)
public void onPopupClosedByUser(ActionEvent ae)
public FIXGRIDListBinding<IdAttributesSelection.IdAttributesLine> getLines()
public void processSelectLine(IdAttributesSelection.IdAttributesLine line)
public void reactOnPopupClosedByUser()
reactOnPopupClosedByUser in interface BasePopup.IPopupListenerpublic boolean getWithHeader()
public void setWithHeader(boolean value)
public void onOK(ActionEvent event)
public void onCancel(ActionEvent event)
public void setPopupWidth(int width)
public void setPopupHeight(int height)
public void setSuppressHeadline(boolean value)
public boolean getSuppressHeadline()
public void preselect(java.lang.String id)
Copyright © CaptainCasa Gmbh. All Rights Reserved.