|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.meta.swing.AbstractPropertyUI
org.progeeks.meta.swing.AbstractPropertyEditor
org.progeeks.meta.swing.editor.LongStringEditor
public class LongStringEditor
An editor implementation for editing long string values. It uses a multi-line JEditPane for the job.
Constructor Summary | |
---|---|
LongStringEditor()
|
|
LongStringEditor(boolean readOnly)
|
Method Summary | |
---|---|
java.awt.Component |
getUIComponent()
Returns the component that allows modification of the associated property mutator. |
boolean |
isAutoScroll()
|
boolean |
isSingleColumn()
Returns false since editor pane should be a full-width control. |
protected void |
releaseComponent()
Implemented by subclasses to release any component-related resources. |
protected void |
resetComponentValue()
Called to set the component value to a default state. |
void |
setAutoScroll(boolean f)
Set to true for the component to automatically scroll to the end of the text whenever the value changes. |
protected void |
setComponentValue(java.lang.Object value)
Called to set the current value displayed in the component. |
Methods inherited from class org.progeeks.meta.swing.AbstractPropertyEditor |
---|
flushEdits |
Methods inherited from class org.progeeks.meta.swing.AbstractPropertyUI |
---|
getPropertyMutator, getViewContext, initializeView, isLabeled, propertyChanged, release, setPropertyMutator, setPropertyValue, setupToolTipText, terminateView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.progeeks.meta.swing.MetaPropertyUI |
---|
getViewContext, initializeView, isLabeled, release, setPropertyMutator |
Constructor Detail |
---|
public LongStringEditor()
public LongStringEditor(boolean readOnly)
Method Detail |
---|
public void setAutoScroll(boolean f)
public boolean isAutoScroll()
public boolean isSingleColumn()
isSingleColumn
in interface MetaPropertyUI
isSingleColumn
in class AbstractPropertyUI
public java.awt.Component getUIComponent()
getUIComponent
in interface MetaPropertyUI
getUIComponent
in class AbstractPropertyUI
protected void releaseComponent()
releaseComponent
in class AbstractPropertyEditor
protected void setComponentValue(java.lang.Object value)
setComponentValue
in class AbstractPropertyUI
protected void resetComponentValue()
resetComponentValue
in class AbstractPropertyUI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |