public class InvokeMethodStringConverter extends org.jdesktop.swingx.autocomplete.ObjectToStringConverter implements ListCellRenderer
| Constructor and Description |
|---|
InvokeMethodStringConverter(Object object,
String methodName) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHorizontalAlignment() |
Component |
getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus) |
String |
getPreferredStringForItem(Object item) |
void |
setHorizontalAlignment(int horizontalAlignment) |
public int getHorizontalAlignment()
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent in interface ListCellRendererpublic String getPreferredStringForItem(Object item)
getPreferredStringForItem in class org.jdesktop.swingx.autocomplete.ObjectToStringConverterpublic void setHorizontalAlignment(int horizontalAlignment)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.