|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.vcs.spi.VCSCommentsCustomizer
Utility class for using comments options in an options customizer.
Field Summary | |
static java.lang.String |
KEY_SETTING_COMMENTS
|
static java.lang.String |
KEY_SETTING_REUSE_COMMENTS
|
Constructor Summary | |
VCSCommentsCustomizer()
Constructor |
|
VCSCommentsCustomizer(VCSOptionsCustomizer delegateCustomizer)
Constructor. |
|
VCSCommentsCustomizer(VCSOptionsCustomizer delegateCustomizer,
boolean showReuseCommentsOption)
Constructor. |
Method Summary | |
java.awt.Component |
getComponent()
Gets the component of the options cusomizer instance. |
java.awt.Component |
getInitialFocusComponent()
Get the component to focus initially when the customizer is displayed. |
java.util.Map |
getOptions()
Gets options from the customizer, based on internal component states. |
protected javax.swing.text.JTextComponent |
getTextComponent()
Get the text component. |
protected void |
layoutContainer(java.awt.Container container,
java.awt.Component commentsUI,
java.awt.Component delegateUI)
Performs layout of the comments customizer container. |
void |
setDefaultVisibleRows(int rows)
Override the default number of visible rows. |
void |
setFlatLook(boolean isFlat)
Set whether this component has a flat look. |
void |
setOptions(java.util.Map options)
Sets options on the customizer, updating internal component states. |
void |
validateOptions()
Validates internal component states ahead of committing options. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String KEY_SETTING_COMMENTS
public static final java.lang.String KEY_SETTING_REUSE_COMMENTS
Constructor Detail |
public VCSCommentsCustomizer()
public VCSCommentsCustomizer(VCSOptionsCustomizer delegateCustomizer)
delegateCustomizer
- the delegate options customizer instance.public VCSCommentsCustomizer(VCSOptionsCustomizer delegateCustomizer, boolean showReuseCommentsOption)
delegateCustomizer
- the delegate options customizer instance.showReuseCommentsOption
- a decision on whether the 'reuse comments'
option should be used.Method Detail |
public void setDefaultVisibleRows(int rows)
rows
- the number of rows to display.public void setFlatLook(boolean isFlat)
isFlat
- true if the component should be painted in a flat styleprotected javax.swing.text.JTextComponent getTextComponent()
public java.awt.Component getComponent()
VCSOptionsCustomizer
getComponent
in interface VCSOptionsCustomizer
public java.awt.Component getInitialFocusComponent()
VCSOptionsCustomizer
getInitialFocusComponent
in interface VCSOptionsCustomizer
public void setOptions(java.util.Map options)
VCSOptionsCustomizer
setOptions
in interface VCSOptionsCustomizer
options
- the map of options values.public java.util.Map getOptions()
VCSOptionsCustomizer
getOptions
in interface VCSOptionsCustomizer
public void validateOptions() throws VCSException
VCSOptionsCustomizer
validateOptions
in interface VCSOptionsCustomizer
VCSException
- if an option states is invalid.protected void layoutContainer(java.awt.Container container, java.awt.Component commentsUI, java.awt.Component delegateUI)
container
- the container to lay out.commentsUI
- the user interface component for comments entry.delegateUI
- the user interface component for delegate options entry.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.