public class JObjectChooser extends Object implements Property.ValueChangeNotifier
| Constructor and Description |
|---|
JObjectChooser(ParseSession session,
Class<?> type,
boolean showFields)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(Property.ValueChangeListener listener) |
void |
addValueChangeListener(Property.ValueChangeListener listener) |
JClass<?> |
getJClass()
Get the
JClass corresponding to the currently selected type, if any. |
ExprQueryJObjectContainer |
getJObjectContainer()
Get the object container for this instance.
|
HorizontalSplitPanel |
getObjectPanel()
Get the component containing the type chooser and object panel.
|
ObjId |
getObjId()
Get the currently selected object, if any.
|
FormLayout |
getShowForm()
Get the form with the sort chooser and expression text area.
|
Class<?> |
getType()
Get the current type restriction, if any.
|
TypeTable |
getTypeTable()
Get the type table.
|
void |
removeListener(Property.ValueChangeListener listener) |
void |
removeValueChangeListener(Property.ValueChangeListener listener) |
protected final Logger log
public JObjectChooser(ParseSession session, Class<?> type, boolean showFields)
session - session for evaluating expressionstype - type restriction, or null for noneshowFields - true to show all object fields, false for just reference labelpublic ExprQueryJObjectContainer getJObjectContainer()
public Class<?> getType()
public TypeTable getTypeTable()
public HorizontalSplitPanel getObjectPanel()
public ObjId getObjId()
public FormLayout getShowForm()
public JClass<?> getJClass()
JClass corresponding to the currently selected type, if any.public void addValueChangeListener(Property.ValueChangeListener listener)
addValueChangeListener in interface Property.ValueChangeNotifierpublic void removeValueChangeListener(Property.ValueChangeListener listener)
removeValueChangeListener in interface Property.ValueChangeNotifierpublic void addListener(Property.ValueChangeListener listener)
addListener in interface Property.ValueChangeNotifierpublic void removeListener(Property.ValueChangeListener listener)
removeListener in interface Property.ValueChangeNotifierCopyright © 2016. All rights reserved.