public interface RecordEditor<R extends DBRecord> extends Applieable, Closeable, Clearable
DBRecord
instance must have.
Typically there will be two versions of this editor, a Dialog and a Frame version.Modifier and Type | Method and Description |
---|---|
R |
getCurrentRecord()
Returns the current record being edited.
|
java.awt.Point |
getLocation() |
R |
getMasterRecord()
Returns the master record.
|
DBRecord |
getParentRecord()
Returns the parent record.
|
java.lang.String |
getTitle()
Returns the title string of this editors window
|
boolean |
hasRecordLock()
Tells whether this Editor has a Lock on the current Record
(only used for remote editing)
|
boolean |
isIndexChangeAllowed() |
boolean |
isLocated() |
boolean |
isModified() |
boolean |
isVisible() |
void |
lockRecord() |
void |
popup()
Pops up the editor to become visible
|
void |
setCurrentRecord(R record)
Sets the current record object for being editable.
|
void |
setLocation(java.awt.Point p) |
void |
setParentRecord(DBRecord record)
Sets the parent record.
|
void |
unlockRecord() |
apply
void setParentRecord(DBRecord record)
DBRecord getParentRecord()
void setCurrentRecord(R record)
R getCurrentRecord()
R getMasterRecord()
java.lang.String getTitle()
void popup()
boolean isVisible()
boolean isLocated()
java.awt.Point getLocation()
void setLocation(java.awt.Point p)
boolean isModified()
boolean isIndexChangeAllowed()
boolean hasRecordLock()
void lockRecord()
void unlockRecord()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.