GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
App::PFM::Browser::Files(3) User Contributed Perl Documentation App::PFM::Browser::Files(3)

App::PFM::Browser::Files

This class is responsible for the file-specific part of browsing through the filesystem. It provides the Browser class with the necessary file data.

_init(App::PFM::Screen $screen, App::PFM::Config $config, App::PFM::State $state)
Initializes new instances. Called from the constructor. Stores the application's current state internally.
browselist()
Getter for the listing that is to be shown.
cursorcol()
Getter for the cursor column to be used in this browser.
currentitem()
Getter for the file at the cursor position.
currentfile()
Getter for the file at the cursor position.
swap_mode( [ bool $swap_mode ] )
Getter/setter for the swap_mode variable, which indicates if the browser considers its current directory as 'swap' directory.
main_state( [ App::PFM::State $state ] )
Getter/setter for the _state member variable, indicating which state this browser is operating on.
position_cursor( [ string $filename ] )
Positions the cursor at a specific file. Specifying a filename here overrules the position_at variable.
position_cursor_fuzzy( [ string $filename ] )
Positions the cursor at the file with the closest matching name. Used by incremental find.
find_best_find_match(string $seek, string $first, string $second )
Decides which file out of two is the best match, e.g. if there are two files "Contractor.php" and "Dealer.php", and 'Coz' is searched, this method decides that "Contractor.php" is the better match.

Returns 0 (first match is better) or 1 (second is better).

handle_non_motion_input(App::PFM::Event $event)
Attempts to handle the non-motion event (keyboard- or mouse-input). Returns a hash reference with a member 'handled' indicating if this was successful, and a member 'data' with additional data (like the string 'quit' in case the user requested an application quit).

This package implements the following events:
after_receive_non_motion_input
Called when the input event is not a browsing event. Probably the CommandHandler knows how to handle it.

pfm(1), App::PFM::Browser(3pm).
2014-04-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.