|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectproject35.desktopDeployment.SingleListTypeManager
public class SingleListTypeManager
Handles the part of lists that indicate it can support a single type of subrecord.
Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.
| Constructor Summary | |
|---|---|
SingleListTypeManager(Project35FormContext project35FormContext)
|
|
| Method Summary | |
|---|---|
void |
changeFont(Font font)
|
RecordModel |
createRecordModelFromType()
|
void |
deregisterToolTipComponents()
|
void |
enableContextHelp(boolean enableContextHelp)
controls whether context sensitive help is enabled for this UI component. |
String |
getSelectedType()
|
Component |
getTypeArea()
|
String[] |
getTypes()
|
Component |
getUIComponent()
|
void |
reset()
|
void |
setEnabled(boolean isEnabled)
|
void |
setFont(Font font)
|
void |
setListTypeListener(ListTypeListener actionListener)
sets the listener for the type changes. |
void |
setModel(ListFieldModel listFieldModel)
sets the list model which will contain the list of types allowed for the corresponding list |
void |
setTypes(String[] types)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleListTypeManager(Project35FormContext project35FormContext)
| Method Detail |
|---|
public void setModel(ListFieldModel listFieldModel)
ListTypeManager
setModel in interface ListTypeManagerpublic void deregisterToolTipComponents()
deregisterToolTipComponents in interface ListTypeManagerpublic String getSelectedType()
getSelectedType in interface ListTypeManagerpublic void setListTypeListener(ListTypeListener actionListener)
ListTypeManager
setListTypeListener in interface ListTypeManageractionListener - listens to changes in the list type. The only example
of ListTypeListener appears to be ListValueManager but this may change in the future.public Component getTypeArea()
getTypeArea in interface ListTypeManagerpublic RecordModel createRecordModelFromType()
createRecordModelFromType in interface ListTypeManagerpublic void setEnabled(boolean isEnabled)
public void reset()
reset in interface ListTypeManagerpublic String[] getTypes()
getTypes in interface ListTypeManagerpublic Component getUIComponent()
public void setTypes(String[] types)
public void setFont(Font font)
setFont in interface ListTypeManagerpublic void enableContextHelp(boolean enableContextHelp)
ListTypeManager
enableContextHelp in interface ListTypeManagerpublic void changeFont(Font font)
changeFont in interface ListTypeManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||