Top Inners Fields Constructors Methods
org.freedesktop.dbus.viewer

pack-priv final Class SaveFileAction

extends TabbedSaveAction
implements ChangeListener
Class Inheritance
All Implemented Interfaces
javax.swing.event.ChangeListener, java.util.EventListener
Annotations
@SuppressWarnings:serial
Imports
java.util.Iterator, .NoSuchElementException, javax.swing.JTabbedPane, javax.swing.event.ChangeEvent, .ChangeListener

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Inherited from org.freedesktop.dbus.viewer.TabbedSaveAction:
tabbedPane

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
enableAndSetName()

Enable and set the name of the action based on the shown tab

public Iterator<TextFile>
iterator()

Implements java.lang.Iterable.iterator.

Returns an iterator over elements of type T.

public void
stateChanged(ChangeEvent
a ChangeEvent object
_event
)

Implements javax.swing.event.ChangeListener.stateChanged.

Invoked when the target of the listener has changed its state.

Inherited from org.freedesktop.dbus.viewer.TabbedSaveAction:
actionPerformedgetFileNamegetTextFile

Constructor Detail

SaveFileActionback to summary
pack-priv SaveFileAction(JTabbedPane _tabbedPane)

Method Detail

enableAndSetNameback to summary
pack-priv void enableAndSetName()

Enable and set the name of the action based on the shown tab

iteratorback to summary
public Iterator<TextFile> iterator()

Implements java.lang.Iterable.iterator.

Doc from java.lang.Iterable.iterator.

Returns an iterator over elements of type T.

Returns:Iterator<TextFile>

an Iterator.

Annotations
@Override
stateChangedback to summary
public void stateChanged(ChangeEvent _event)

Implements javax.swing.event.ChangeListener.stateChanged.

Doc from javax.swing.event.ChangeListener.stateChanged.

Invoked when the target of the listener has changed its state.

Parameters
_event:ChangeEvent

a ChangeEvent object

Annotations
@Override
org.freedesktop.dbus.viewer back to summary

private final Class SaveFileAction.SelectedTabIterator

extends Object
implements Iterator<TextFile>
Class Inheritance
  • java.lang.Object
  • org.freedesktop.dbus.viewer.SaveFileAction.SelectedTabIterator
All Implemented Interfaces
java.util.Iterator

Field Summary

Modifier and TypeField and Description
pack-priv boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
hasNext()

Implements java.util.Iterator.hasNext.

Returns true if the iteration has more elements.

public TextFile
next()

Implements java.util.Iterator.next.

Returns the next element in the iteration.

public void
remove()

Overrides default java.util.Iterator.remove.

Removes from the underlying collection the last element returned by this iterator (optional operation).

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

iteratedback to summary
pack-priv boolean iterated

Constructor Detail

SelectedTabIteratorback to summary
private SelectedTabIterator()

Method Detail

hasNextback to summary
public boolean hasNext()

Implements java.util.Iterator.hasNext.

Doc from java.util.Iterator.hasNext.

Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)

Returns:boolean

true if the iteration has more elements

Annotations
@Override
nextback to summary
public TextFile next()

Implements java.util.Iterator.next.

Doc from java.util.Iterator.next.

Returns the next element in the iteration.

Returns:TextFile

the next element in the iteration

Annotations
@Override
removeback to summary
public void remove()

Overrides default java.util.Iterator.remove.

Doc from java.util.Iterator.remove.

Removes from the underlying collection the last element returned by this iterator (optional operation). This method can be called only once per call to next.

The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.

The behavior of an iterator is unspecified if this method is called after a call to the forEachRemaining method.

Annotations
@Override